T
- The type of the responsepublic interface Response<T>
extends java.util.concurrent.Future<T>
Response
interface provides methods used to obtain the
payload and context of a message sent in response to an operation
invocation.
For asynchronous operation invocations it provides additional methods
to check the status of the request. The get(...)
methods may
throw the standard
set of exceptions and their cause may be a RemoteException
or a
WebServiceException
that represents the error that occurred during the
asynchronous method invocation.
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
getContext()
Gets the contained response context.
|