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.5 $ $Date: 1996/08/22 08:13:47 $
- 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.
-
BAReq(String, String, CLConnection)
- Object Constructor.
-
addParam(String, String)
- Add a parameter.
-
companyId()
-
-
cookieParseInit(String)
- Parameter adding from a cookie string.
-
elements()
-
-
getCL()
-
-
getId()
- Returns the Id of the request object.
-
getParam(String)
- Returns the value of a parameter.
-
keys()
-
-
setCL(CLConnection)
- Sets the commerce layer object of the request
-
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
BAReq
public BAReq(String params,
String cookies,
CLConnection clObj)
- 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
- clObj - the commerce layer object for communication with the Server/Client BA
- See Also:
- BusinessApp
srvReq
public String srvReq()
companyId
public String companyId()
getCL
public CLConnection getCL()
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()
keys
public Enumeration keys()
getId
public String getId()
- Returns the Id of the request object.
- Returns:
- the Id of the request object
- See Also:
- BusinessApp
setCL
public void setCL(CLConnection clObj)
- Sets the commerce layer object of the request
- Parameters:
- clObj - the commerce layer to be set to the request
All Packages Class Hierarchy This Package Previous Next Index