Interface ClientExchange

    • Method Detail

      • setPushHandler

        void setPushHandler​(PushCallback pushCallback)
      • getRequestChannel

        org.xnio.channels.StreamSinkChannel getRequestChannel()
        Returns the request channel that can be used to send data to the server.
        Returns:
        The request channel
      • getResponseChannel

        org.xnio.channels.StreamSourceChannel getResponseChannel()
        Returns the response channel that can be used to read data from the target server.
        Returns:
        The response channel
      • getResponse

        ClientResponse getResponse()
        Returns:
        The client response, or null if it has not been received yet
      • getContinueResponse

        ClientResponse getContinueResponse()
        Returns:
        the result of a HTTP 100-continue response
      • getConnection

        ClientConnection getConnection()
        Returns:
        The underlying connection