Interface WebClientServiceRequest

    • Method Detail

      • context

        Context context()
        Registry that can be used to propagate information from server (e.g. security context, tracing spans etc.).
        Returns:
        registry propagated by the user
      • whenSent

        Single<WebClientServiceRequest> whenSent()
        Completes when the request part of this request is done (e.g. we have sent all headers and bytes).
        Returns:
        completion stage that finishes when we fully send request (including entity) to server
      • whenResponseReceived

        Single<WebClientServiceResponse> whenResponseReceived()
        Completes when the response headers has been received, but entity has not been processed yet.
        Returns:
        completion stage that finishes when we received headers
      • whenComplete

        Single<WebClientServiceResponse> whenComplete()
        Completes when the full processing of this request is done (e.g. we have received a full response).
        Returns:
        completion stage that finishes when we receive and fully read response from the server