org.apache.hc.core5.http.io

## Interface HttpFilterChain.ResponseTrigger

- Enclosing interface:
    HttpFilterChain

      public static interface HttpFilterChain.ResponseTrigger

  Response trigger that can be used to generate the final HTTP response and terminate HTTP request processing.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `sendInformation(ClassicHttpResponse response)` Sends an intermediate informational HTTP response to the client.
    `void` | `submitResponse(ClassicHttpResponse response)` Sends a final HTTP response to the client.

- - ### Method Detail

    - #### sendInformation

          void sendInformation(ClassicHttpResponse response)
                        throws HttpException,
                               IOException

      Sends an intermediate informational HTTP response to the client.
      Parameters:
        `response` - an intermediate (1xx) HTTP response.
      Throws:
        `HttpException`
        `IOException`

    - #### submitResponse

          void submitResponse(ClassicHttpResponse response)
                       throws HttpException,
                              IOException

      Sends a final HTTP response to the client.
      Parameters:
        `response` - a final (non 1xx) HTTP response.
      Throws:
        `HttpException`
        `IOException`

Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.