|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Represents the low-level ESP (External Service Protocol) request passed by the ESP layer to the processing method.
To get a MILESPRequest instance, define a class implementing the MILESPExtension interface.
The fully qualified name of this extension class corresponds to the ServiceName attribute,
and the method processing the ESP request corresponds to the MethodName parameter.
In response to this MILESPRequest, you can create a fault response or a success response
by calling the createFaultResponse() or createSuccessResponse() methods.
| Method Summary | |
MILESPFaultResponse |
createFaultResponse()
Creates a fault response bound to this request. |
MILESPSuccessResponse |
createSuccessResponse()
Creates a successful response bound to this request. |
int |
getID()
Returns the request ID. |
java.lang.String |
getInteractionID()
Returns the ID of the MILInteraction associated with this ESP request. |
java.lang.String |
getMethodName()
Returns the methodName parameter. |
java.util.Map |
getRequestParameters()
Returns the request parameters of this ESP request. |
java.lang.String |
getServiceName()
Returns the ServiceName parameter. |
java.util.Map |
getUserData()
Returns the user data specified in this ESP request. |
| Method Detail |
public java.lang.String getServiceName()
ServiceName parameter.
The ServiceName parameter is the fully qualified name of the targeted ESP extension.
ServiceName parameter.public java.lang.String getMethodName()
methodName parameter.
methodName parameterpublic int getID()
public java.util.Map getRequestParameters()
The returned Map is read-only.
Map of ESP request parameters.public java.util.Map getUserData()
Map of user data.public java.lang.String getInteractionID()
MILInteraction associated with this ESP request.
MILInteractionpublic MILESPSuccessResponse createSuccessResponse()
The returned MILESPSuccessResponse is populated with default values
and is ready to be sent to Interaction Server.
public MILESPFaultResponse createFaultResponse()
The returned MILESPFaultResponse is populated with default values and is ready to be sent to Interaction Server.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||