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 Type
    Method
    Description
    Getter for the response object.
    void
    setResponse(RES response)
    Setter for the response object.
  • Method Details

    • getResponse

      @Nullable RES getResponse()
      Getter for the response object.
      Returns:
      the response
    • setResponse

      void setResponse(RES response)
      Setter for the response object.
      Parameters:
      response - the response