Class semper.BApp.FrmWrk.BAReq
All Packages Class Hierarchy This Package Previous Next Index
Class semper.BApp.FrmWrk.BAReq
java.lang.Object
|
+----semper.BApp.FrmWrk.BAReq
- public class BAReq
- extends Object
This class defines the business application request.
It encupsulates the request id as well as the associated
parameters.
- Version:
- $Revision: 1.12 $ $Date: 1997/06/09 13:45:17 $
- Author:
- Dimitrios Livas
- See Also:
- BusinessApp
-
companyId
- Company to which the request is directed.
-
COMPANYID
- The identifier of the name of ID of the BA session for which the
request is directed;
The value of this id is the class name of the specific service
provider Business Application class (example: BAppEurocom,
BAppFogra, BAppOtto).
-
SRV_REQ
- The identifier of the name of the ID of the service;
the values associated with this ID
is Business Application specific.
-
srvReq
- The service requelst.
-
BAReq()
- Object Constructor.
-
BAReq(String, String)
- Object Constructor.
-
addParam(String, String)
- Add a parameter.
-
companyId()
-
-
cookieParseInit(String)
- Parameter adding from a cookie string.
-
elements()
- Returns an enumeration of the values of this request object.
-
getId()
- Returns the Id of the request object.
-
getParam(String)
- Returns the value of a parameter.
-
keys()
- Returns an enumeration of the keys of this request object.
-
reqLine()
-
-
setReqLine(String)
- Sets the service request line.
-
srvReq()
-
-
tokenParseInit(String)
- Object Initializer.
COMPANYID
public final static String COMPANYID
- The identifier of the name of ID of the BA session for which the
request is directed;
The value of this id is the class name of the specific service
provider Business Application class (example: BAppEurocom,
BAppFogra, BAppOtto).
SRV_REQ
public final static String SRV_REQ
- The identifier of the name of the ID of the service;
the values associated with this ID
is Business Application specific.
srvReq
public String srvReq
- The service requelst.
companyId
public String companyId
- Company to which the request is directed.
BAReq
public BAReq()
- Object Constructor.
Creates a new non identified BAReq object.
- See Also:
- BusinessApp
BAReq
public BAReq(String params,
String cookies)
- Object Constructor.
Creates a new BAReq object. The parameter specifies the
ID of this request.
- Parameters:
- params - the HTTP request line
- cookies - the HTTP client browser cookies
- See Also:
- BusinessApp
reqLine
public String reqLine()
setReqLine
public void setReqLine(String line)
- Sets the service request line.
- Parameters:
- line - the string containing the http request from the browser.
srvReq
public String srvReq()
companyId
public String companyId()
tokenParseInit
public void tokenParseInit(String line)
- Object Initializer.
Initializes a BAReq object. The parameter specifies the
ID of this request as well as the parameters. The format
of the parameter string is
&=&...&=
Example:
for the request
COMPANYID=BAppEurocom&SRV_REQ=AUTHENTICATE
the service request is AUTHENTICATE
there are two parameters available
the service request is AUTHENTICATE
the company id is EUROCOM
- Parameters:
- line - the string that specifies the request ID and the params
- See Also:
- BusinessApp
cookieParseInit
public void cookieParseInit(String line)
- Parameter adding from a cookie string.
- Parameters:
- line - the string containing cookies name=value pairs
addParam
public void addParam(String name,
String value)
- Add a parameter.
Adds a parameter into the request obeject.
- Parameters:
- name - the name of the parameter
- value - the value of the parameter
- See Also:
- BusinessApp
getParam
public String getParam(String name)
- Returns the value of a parameter.
Returns the value associated with a specific parameter
of the request obeject.
- Parameters:
- name - the name of the parameter
- Returns:
- the value of the parameter
- See Also:
- BusinessApp
elements
public Enumeration elements()
- Returns an enumeration of the values of this request object.
- Returns:
- enumeration of the values of this request object.
keys
public Enumeration keys()
- Returns an enumeration of the keys of this request object.
- Returns:
- enumeration of the keys of this request object.
getId
public String getId()
- Returns the Id of the request object.
- Returns:
- the Id of the request object
- See Also:
- BusinessApp
All Packages Class Hierarchy This Package Previous Next Index