public class AsynchronousResponse
extends java.lang.Object
implements java.io.Serializable
RequestStatus,
ServiceProvider,
Serialized Form| Constructor and Description |
|---|
AsynchronousResponse(java.lang.String requestId,
RequestStatus.Status 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.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getMessage()
Returns the reason message (if any) of the response.
|
java.lang.String |
getRequestId()
Returns the request id of the response.
|
RequestStatus.Status |
getResultCode()
Returns the result code of the response.
|
RequestStatus |
getResultStatus()
Returns the response Request Status, including the result code and message (if any) of the response.
|
public AsynchronousResponse(java.lang.String requestId,
RequestStatus.Status resultCode)
requestId - id of request this response is forresultCode - request status result code.RequestStatuspublic AsynchronousResponse(java.lang.String requestId,
RequestStatus resultStatus)
requestId - id of request this response is for.resultStatus - RequestStatus holding the result code and message.public java.lang.String getRequestId()
public RequestStatus.Status getResultCode()
public java.lang.String getMessage()
public RequestStatus getResultStatus()