org.apache.hc.core5.http.nio

## Interface AsyncFilterChain

-     @Contract(threading=STATELESS)
      public interface AsyncFilterChain

  AsyncFilterChain represents a single element in the server side request processing chain.
  Since:
    5.0

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Interface and Description
    --- | ---
    `static interface` | `AsyncFilterChain.ResponseTrigger` Response trigger that can be used to generate the final HTTP response and terminate HTTP request processing.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `AsyncDataConsumer` | `proceed(HttpRequest request, EntityDetails entityDetails, HttpContext context, AsyncFilterChain.ResponseTrigger responseTrigger)` Proceeds to the next element in the request processing chain.

- - ### Method Detail

    - #### proceed

          AsyncDataConsumer proceed(HttpRequest request,
                                  EntityDetails entityDetails,
                                  HttpContext context,
                                  AsyncFilterChain.ResponseTrigger responseTrigger)
                                    throws HttpException,
                                           IOException

      Proceeds to the next element in the request processing chain.
      Parameters:
        `request` - the actual request.
        `entityDetails` - the request entity details or `null` if the request does not enclose an entity.
        `responseTrigger` - the response trigger.
        `context` - the actual execution context.
      Throws:
        `HttpException`
        `IOException`

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