|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.ibm.itim.remoteservices.provider.AsynchronousResponse
Class that represents the response to an asynchronous request made by a ServiceProvider. This class is very similar in nature to the RequestStatus, with the difference being this class holds a request id that corresponds to the initial request.
RequestStatus,
ServiceProvider,
Serialized Form| Constructor Summary | |
|---|---|
AsynchronousResponse(java.lang.String requestId,
int resultCode)
Constructs with a request id and a result code. |
|
AsynchronousResponse(java.lang.String requestId,
RequestStatus resultStatus)
Constructs with a request id and a RequestStatus for the return status. |
|
| Method Summary | |
|---|---|
java.lang.String |
getMessage()
Returns the message (if any) of the response. |
java.lang.String |
getRequestId()
Returns the request id of the response. |
int |
getResultCode()
Returns the result code of the response. |
RequestStatus |
getResultStatus()
Returns the result code and message (if any) of the response. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AsynchronousResponse(java.lang.String requestId,
int resultCode)
requestId - id of request this response is forresultCode - int representation of request result, see
RequestStatus for possible values.
public AsynchronousResponse(java.lang.String requestId,
RequestStatus resultStatus)
requestId - id of request this response is for.resultStatus - RequestStatus holding the result code and message.| Method Detail |
public java.lang.String getRequestId()
public int getResultCode()
public java.lang.String getMessage()
public RequestStatus getResultStatus()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||