org.apache.hc.core5.http.io

## Interface HttpFilterHandler

- All Known Implementing Classes:
    AbstractHttpServerAuthFilter, HttpServerExpectationFilter, TerminalServerFilter

      @Contract(threading=STATELESS)
      public interface HttpFilterHandler

  HttpFilterHandler represents a routine for handling all incoming requests in the server side request processing chain.
  Since:
    5.0

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `handle(ClassicHttpRequest request, HttpFilterChain.ResponseTrigger responseTrigger, HttpContext context, HttpFilterChain chain)` Processes the incoming HTTP request and if processing has been completed submits a final response to the client.

- - ### Method Detail

    - #### handle

          void handle(ClassicHttpRequest request,
                    HttpFilterChain.ResponseTrigger responseTrigger,
                    HttpContext context,
                    HttpFilterChain chain)
                      throws HttpException,
                             IOException

      Processes the incoming HTTP request and if processing has been completed submits a final response to the client. The handler must not use the response trigger after passing control to the next filter with the `HttpFilterChain.proceed(ClassicHttpRequest, HttpFilterChain.ResponseTrigger, HttpContext)` method.
      Parameters:
        `request` - the actual request.
        `responseTrigger` - the response trigger.
        `context` - the actual execution context.
        `chain` - the next element in the request processing chain.
      Throws:
        `HttpException`
        `IOException`

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