## Uses of Interface
org.apache.hc.core5.http.nio.AsyncDataConsumer

- Packages that use AsyncDataConsumer
  Package | Description
  --- | ---
  org.apache.hc.core5.http.nio | Core HTTP transport APIs based on the asynchronous, event driven I/O model.
  org.apache.hc.core5.http.nio.entity | HTTP message entity APIs based on the asynchronous (non-blocking) I/O model.
  org.apache.hc.core5.http.nio.support | Support classes for the asynchronous I/O model.
  org.apache.hc.core5.http.nio.support.classic | Support classes for the asynchronous I/O model that emulate behavior of the classic (blocking) I/O model.
  org.apache.hc.core5.reactive |

- - ### Uses of AsyncDataConsumer in org.apache.hc.core5.http.nio

    Subinterfaces of AsyncDataConsumer in org.apache.hc.core5.http.nio
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `AsyncClientExchangeHandler` Abstract asynchronous client side message exchange handler that acts as a request producer and a response consumer.
    `interface` | `AsyncDataExchangeHandler` Abstract asynchronous data exchange handler that acts as a data consumer and a data producer.
    `interface` | `AsyncEntityConsumer<T>` Abstract asynchronous message entity consumer.
    `interface` | `AsyncPushConsumer` Abstract asynchronous push response consumer.
    `interface` | `AsyncRequestConsumer<T>` Abstract asynchronous request consumer.
    `interface` | `AsyncResponseConsumer<T>` Abstract asynchronous response consumer.
    `interface` | `AsyncServerExchangeHandler` Abstract asynchronous server side message exchange handler that acts as a request consumer and a response producer.

    Methods in org.apache.hc.core5.http.nio that return AsyncDataConsumer
    Modifier and Type | Method and Description
    --- | ---
    `AsyncDataConsumer` | AsyncFilterHandler.`handle(HttpRequest request, EntityDetails entityDetails, HttpContext context, AsyncFilterChain.ResponseTrigger responseTrigger, AsyncFilterChain chain)` Processes the incoming HTTP request and if processing has been completed submits a final response to the client.
    `AsyncDataConsumer` | AsyncFilterChain.`proceed(HttpRequest request, EntityDetails entityDetails, HttpContext context, AsyncFilterChain.ResponseTrigger responseTrigger)` Proceeds to the next element in the request processing chain.

  - ### Uses of AsyncDataConsumer in org.apache.hc.core5.http.nio.entity

    Classes in org.apache.hc.core5.http.nio.entity that implement AsyncDataConsumer
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractBinAsyncEntityConsumer<T>` Abstract binary entity content consumer.
    `class` | `AbstractBinDataConsumer` Abstract binary data consumer.
    `class` | `AbstractCharAsyncEntityConsumer<T>` Abstract text entity content consumer.
    `class` | `AbstractCharDataConsumer` Abstract text data consumer.
    `class` | `BasicAsyncEntityConsumer` Basic `AsyncEntityConsumer` implementation that processes the data stream content into a byte array.
    `class` | `DigestingEntityConsumer<T>` `AsyncEntityConsumer` decorator that calculates a digest hash from the data stream content and keeps the list of trailers received with the data stream.
    `class` | `DiscardingEntityConsumer<T>` No-op `AsyncEntityConsumer` that discards all data from the data stream.
    `class` | `NoopEntityConsumer` Deprecated. Use `DiscardingEntityConsumer`
    `class` | `StringAsyncEntityConsumer` Basic `AsyncEntityConsumer` implementation that processes the data stream content into a string.

  - ### Uses of AsyncDataConsumer in org.apache.hc.core5.http.nio.support

    Classes in org.apache.hc.core5.http.nio.support that implement AsyncDataConsumer
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractAsyncPushHandler<T>` Abstract push response handler.
    `class` | `AbstractAsyncRequesterConsumer<T,E>` Abstract asynchronous request consumer that makes use of `AsyncEntityConsumer` to process request message content.
    `class` | `AbstractAsyncResponseConsumer<T,E>` Abstract asynchronous response consumer that makes use of `AsyncEntityConsumer` to process response message content.
    `class` | `AbstractServerExchangeHandler<T>` Abstract server side message exchange handler.
    `class` | `BasicAsyncServerExpectationDecorator` `AsyncServerExchangeHandler` implementation that adds support for the Expect-Continue handshake to an existing `AsyncServerExchangeHandler`.
    `class` | `BasicClientExchangeHandler<T>` Basic `AsyncClientExchangeHandler` implementation that makes use of `AsyncRequestProducer` to generate request message and `AsyncResponseConsumer` to process the response message returned by the server.
    `class` | `BasicRequestConsumer<T>` Basic implementation of `AsyncRequestConsumer` that represents the request message as a `Message` and relies on a `AsyncEntityConsumer` to process request entity stream.
    `class` | `BasicResponseConsumer<T>` Basic implementation of `AsyncResponseConsumer` that represents response message as a `Message` and relies on a `AsyncEntityConsumer` to process response entity stream.
    `class` | `BasicServerExchangeHandler<T>` Basic `AbstractServerExchangeHandler` implementation that delegates request processing and response generation to a `AsyncServerRequestHandler`.
    `class` | `ImmediateResponseExchangeHandler` `AsyncServerExchangeHandler` implementation that immediately responds with a predefined response generated by a `AsyncResponseProducer` and ignores any entity content enclosed in the request message.

    Methods in org.apache.hc.core5.http.nio.support that return AsyncDataConsumer
    Modifier and Type | Method and Description
    --- | ---
    `AsyncDataConsumer` | AsyncServerFilterChainElement.`handle(HttpRequest request, EntityDetails entityDetails, HttpContext context, AsyncFilterChain.ResponseTrigger responseTrigger)`
    `AsyncDataConsumer` | TerminalAsyncServerFilter.`handle(HttpRequest request, EntityDetails entityDetails, HttpContext context, AsyncFilterChain.ResponseTrigger responseTrigger, AsyncFilterChain chain)`
    `AsyncDataConsumer` | AbstractAsyncServerAuthFilter.`handle(HttpRequest request, EntityDetails entityDetails, HttpContext context, AsyncFilterChain.ResponseTrigger responseTrigger, AsyncFilterChain chain)`
    `AsyncDataConsumer` | AsyncServerExpectationFilter.`handle(HttpRequest request, EntityDetails entityDetails, HttpContext context, AsyncFilterChain.ResponseTrigger responseTrigger, AsyncFilterChain chain)`

  - ### Uses of AsyncDataConsumer in org.apache.hc.core5.http.nio.support.classic

    Classes in org.apache.hc.core5.http.nio.support.classic that implement AsyncDataConsumer
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractClassicEntityConsumer<T>` `AsyncEntityConsumer` implementation that acts as a compatibility layer for classic `InputStream` based interfaces.
    `class` | `AbstractClassicServerExchangeHandler` `AsyncServerExchangeHandler` implementation that acts as a compatibility layer for classic `InputStream` / `OutputStream` based interfaces.

  - ### Uses of AsyncDataConsumer in org.apache.hc.core5.reactive

    Classes in org.apache.hc.core5.reactive that implement AsyncDataConsumer
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ReactiveResponseConsumer` An `AsyncResponseConsumer` that publishes the response body through a `Publisher`, as defined by the Reactive Streams specification.
    `class` | `ReactiveServerExchangeHandler` An implementation of `AsyncServerExchangeHandler` designed to work with reactive streams.

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