jtr.ws
Interface IWsResponse
- All Superinterfaces:
- java.util.concurrent.Future
public interface IWsResponse
- extends java.util.concurrent.Future
This interface allows the access to both payload and context of a response
message that follows an operation invocation. Furthermore, in case of
asynchronous invocations, it provides a way to check the status of the request,
by means of the API exposed by the Future
super-interface.
The payload of the response can be accessed via the get
method
exposed by the Future
interface.
- Since:
- 4.0
- Version:
- 5.0
- Author:
- Francesco Russo
Method Summary |
java.util.Map<java.lang.String,java.lang.Object> |
getContext()
Provides the context associated with a response message received
after an operation invocation. |
Methods inherited from interface java.util.concurrent.Future |
cancel, get, get, isCancelled, isDone |
getContext
java.util.Map<java.lang.String,java.lang.Object> getContext()
- Provides the context associated with a response message received
after an operation invocation.