Interface NHttpClientConnection

    • Method Detail

      • submitRequest

        void submitRequest​(HttpRequest request)
                    throws java.io.IOException,
                           HttpException
        Submits HttpRequest to be sent to the target server.
        Parameters:
        request - HTTP request
        Throws:
        java.io.IOException - if I/O error occurs while submitting the request
        HttpException - if the HTTP request violates the HTTP protocol.
      • isRequestSubmitted

        boolean isRequestSubmitted()
        Returns true if an HTTP request has been submitted to the target server.
        Returns:
        true if an HTTP request has been submitted, false otherwise.
      • resetOutput

        void resetOutput()
        Resets output state. This method can be used to prematurely terminate processing of the outgoing HTTP request.
      • resetInput

        void resetInput()
        Resets input state. This method can be used to prematurely terminate processing of the incoming HTTP response.