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

- Packages that use AsyncPushConsumer
  Package | Description
  --- | ---
  org.apache.hc.core5.http.impl.bootstrap | HTTP/1.1 requester and server bootstrap.
  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.command | Commands for HTTP transports based on asynchronous, event driven I/O model.
  org.apache.hc.core5.http.nio.support | Support classes for the asynchronous I/O model.
  org.apache.hc.core5.http2.impl.nio | Default implementation of HTTP/2 transport based on the asynchronous (non-blocking) I/O model.
  org.apache.hc.core5.http2.impl.nio.bootstrap | HTTP/2 capable requester and server bootstrap.
  org.apache.hc.core5.http2.nio.support | Support classes for HTTP/2 asynchronous transport.
  org.apache.hc.core5.testing.nio |

- - ### Uses of AsyncPushConsumer in org.apache.hc.core5.http.impl.bootstrap

    Method parameters in org.apache.hc.core5.http.impl.bootstrap with type arguments of type AsyncPushConsumer
    Modifier and Type | Method and Description
    --- | ---
    `void` | HttpAsyncRequester.`execute(AsyncClientExchangeHandler exchangeHandler, HandlerFactory<AsyncPushConsumer> pushHandlerFactory, Timeout timeout, HttpContext executeContext)`
    `<T> Future<T>` | HttpAsyncRequester.`execute(AsyncRequestProducer requestProducer, AsyncResponseConsumer<T> responseConsumer, HandlerFactory<AsyncPushConsumer> pushHandlerFactory, Timeout timeout, HttpContext context, FutureCallback<T> callback)`

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

    Method parameters in org.apache.hc.core5.http.nio with type arguments of type AsyncPushConsumer
    Modifier and Type | Method and Description
    --- | ---
    `abstract void` | AsyncClientEndpoint.`execute(AsyncClientExchangeHandler exchangeHandler, HandlerFactory<AsyncPushConsumer> pushHandlerFactory, HttpContext context)` Initiates a message exchange using the given handler.
    `<T> Future<T>` | AsyncClientEndpoint.`execute(AsyncRequestProducer requestProducer, AsyncResponseConsumer<T> responseConsumer, HandlerFactory<AsyncPushConsumer> pushHandlerFactory, HttpContext context, FutureCallback<T> callback)` Initiates message exchange using the given request producer and response consumer.

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

    Methods in org.apache.hc.core5.http.nio.command that return types with arguments of type AsyncPushConsumer
    Modifier and Type | Method and Description
    --- | ---
    `HandlerFactory<AsyncPushConsumer>` | RequestExecutionCommand.`getPushHandlerFactory()`

    Constructor parameters in org.apache.hc.core5.http.nio.command with type arguments of type AsyncPushConsumer
    Constructor and Description
    `RequestExecutionCommand(AsyncClientExchangeHandler exchangeHandler, HandlerFactory<AsyncPushConsumer> pushHandlerFactory, CancellableDependency cancellableDependency, HttpContext context)`
    `RequestExecutionCommand(AsyncClientExchangeHandler exchangeHandler, HandlerFactory<AsyncPushConsumer> pushHandlerFactory, HttpContext context)`

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

    Classes in org.apache.hc.core5.http.nio.support that implement AsyncPushConsumer
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractAsyncPushHandler<T>` Abstract push response handler.

  - ### Uses of AsyncPushConsumer in org.apache.hc.core5.http2.impl.nio

    Constructor parameters in org.apache.hc.core5.http2.impl.nio with type arguments of type AsyncPushConsumer
    Constructor and Description
    `ClientH2StreamMultiplexer(ProtocolIOSession ioSession, FrameFactory frameFactory, HttpProcessor httpProcessor, HandlerFactory<AsyncPushConsumer> pushHandlerFactory, H2Config h2Config, CharCodingConfig charCodingConfig, H2StreamListener streamListener)`
    `ClientH2StreamMultiplexer(ProtocolIOSession ioSession, HttpProcessor httpProcessor, HandlerFactory<AsyncPushConsumer> pushHandlerFactory, H2Config h2Config, CharCodingConfig charCodingConfig)`
    `ClientH2StreamMultiplexerFactory(HttpProcessor httpProcessor, HandlerFactory<AsyncPushConsumer> pushHandlerFactory, H2Config h2Config, CharCodingConfig charCodingConfig, H2StreamListener streamListener)`
    `ClientH2StreamMultiplexerFactory(HttpProcessor httpProcessor, HandlerFactory<AsyncPushConsumer> pushHandlerFactory, H2StreamListener streamListener)`

  - ### Uses of AsyncPushConsumer in org.apache.hc.core5.http2.impl.nio.bootstrap

    Method parameters in org.apache.hc.core5.http2.impl.nio.bootstrap with type arguments of type AsyncPushConsumer
    Modifier and Type | Method and Description
    --- | ---
    `Cancellable` | H2MultiplexingRequester.`execute(AsyncClientExchangeHandler exchangeHandler, HandlerFactory<AsyncPushConsumer> pushHandlerFactory, Timeout timeout, HttpContext context)`
    `<T> Future<T>` | H2MultiplexingRequester.`execute(AsyncRequestProducer requestProducer, AsyncResponseConsumer<T> responseConsumer, HandlerFactory<AsyncPushConsumer> pushHandlerFactory, Timeout timeout, HttpContext context, FutureCallback<T> callback)`
    `H2MultiplexingRequesterBootstrap` | H2MultiplexingRequesterBootstrap.`register(String uriPattern, Supplier<AsyncPushConsumer> supplier)` Registers the given `AsyncPushConsumer` `Supplier` as a default handler for URIs matching the given pattern.
    `H2RequesterBootstrap` | H2RequesterBootstrap.`register(String uriPattern, Supplier<AsyncPushConsumer> supplier)` Registers the given `AsyncPushConsumer` `Supplier` as a default handler for URIs matching the given pattern.
    `H2MultiplexingRequesterBootstrap` | H2MultiplexingRequesterBootstrap.`registerVirtual(String hostname, String uriPattern, Supplier<AsyncPushConsumer> supplier)` Registers the given `AsyncPushConsumer` `Supplier` as a handler for URIs matching the given host and the pattern.
    `H2RequesterBootstrap` | H2RequesterBootstrap.`registerVirtual(String hostname, String uriPattern, Supplier<AsyncPushConsumer> supplier)` Registers the given `AsyncPushConsumer` `Supplier` as a handler for URIs matching the given host and the pattern.

  - ### Uses of AsyncPushConsumer in org.apache.hc.core5.http2.nio.support

    Methods in org.apache.hc.core5.http2.nio.support that return AsyncPushConsumer
    Modifier and Type | Method and Description
    --- | ---
    `AsyncPushConsumer` | DefaultAsyncPushConsumerFactory.`create(HttpRequest request, HttpContext context)`

    Constructor parameters in org.apache.hc.core5.http2.nio.support with type arguments of type AsyncPushConsumer
    Constructor and Description
    `DefaultAsyncPushConsumerFactory(HttpRequestMapper<Supplier<AsyncPushConsumer>> mapper)`

  - ### Uses of AsyncPushConsumer in org.apache.hc.core5.testing.nio

    Method parameters in org.apache.hc.core5.testing.nio with type arguments of type AsyncPushConsumer
    Modifier and Type | Method and Description
    --- | ---
    `void` | ClientSessionEndpoint.`execute(AsyncClientExchangeHandler exchangeHandler, HandlerFactory<AsyncPushConsumer> pushHandlerFactory, HttpContext context)`
    `<T> Future<T>` | ClientSessionEndpoint.`execute(AsyncRequestProducer requestProducer, AsyncResponseConsumer<T> responseConsumer, HandlerFactory<AsyncPushConsumer> pushHandlerFactory, HttpContext context, FutureCallback<T> callback)`
    `void` | H2TestClient.`register(String uriPattern, Supplier<AsyncPushConsumer> supplier)`

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