Interface ResponseContext<RES>
- Type Parameters:
RES- type of response object
- All Known Implementing Classes:
RequestReplyReceiverContext,RequestReplySenderContext
public interface ResponseContext<RES>
Common interface for getting/setting the response object on
Observation.Context implementations that handle a
response.- Since:
- 1.10.0
-
Method Summary
Modifier and TypeMethodDescriptionGetter for the response object.voidsetResponse(RES response) Setter for the response object.
-
Method Details
-
getResponse
Getter for the response object.- Returns:
- the response
-
setResponse
Setter for the response object.- Parameters:
response- the response
-