Interface HttpServerRequestHandler.ResponseTrigger

  • Enclosing interface:
    HttpServerRequestHandler

    public static interface HttpServerRequestHandler.ResponseTrigger
    Response trigger that can be used to submit a final HTTP response and terminate HTTP request processing.
    • Method Detail

      • sendInformation

        void sendInformation​(ClassicHttpResponse response)
                      throws HttpException,
                             java.io.IOException
        Sends an intermediate informational HTTP response to the client.
        Parameters:
        response - the intermediate (1xx) HTTP response
        Throws:
        HttpException
        java.io.IOException
      • submitResponse

        void submitResponse​(ClassicHttpResponse response)
                     throws HttpException,
                            java.io.IOException
        Sends a final HTTP response to the client.
        Parameters:
        response - the final (non 1xx) HTTP response
        Throws:
        HttpException
        java.io.IOException