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

- Packages that use HandlerFactory
  Package | Description
  --- | ---
  org.apache.hc.core5.http.impl.bootstrap | HTTP/1.1 requester and server bootstrap.
  org.apache.hc.core5.http.impl.nio | Default implementation of HTTP/1.1 transport based on the asynchronous (non-blocking) I/O model.
  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 HandlerFactory in org.apache.hc.core5.http.impl.bootstrap

    Methods in org.apache.hc.core5.http.impl.bootstrap with parameters of type HandlerFactory
    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)`
    `void` | HttpAsyncRequester.`execute(HttpHost target, AsyncClientExchangeHandler exchangeHandler, HandlerFactory<AsyncPushConsumer> pushHandlerFactory, Timeout timeout, HttpContext executeContext)`
    `<T> Future<T>` | HttpAsyncRequester.`execute(HttpHost target, AsyncRequestProducer requestProducer, AsyncResponseConsumer<T> responseConsumer, HandlerFactory<AsyncPushConsumer> pushHandlerFactory, Timeout timeout, HttpContext context, FutureCallback<T> callback)`

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

    Constructors in org.apache.hc.core5.http.impl.nio with parameters of type HandlerFactory
    Constructor and Description
    `ServerHttp1StreamDuplexer(ProtocolIOSession ioSession, HttpProcessor httpProcessor, HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory, String scheme, Http1Config http1Config, CharCodingConfig charCodingConfig, ConnectionReuseStrategy connectionReuseStrategy, NHttpMessageParser<HttpRequest> incomingMessageParser, NHttpMessageWriter<HttpResponse> outgoingMessageWriter, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, Http1StreamListener streamListener)`
    `ServerHttp1StreamDuplexerFactory(HttpProcessor httpProcessor, HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory, Http1Config http1Config, CharCodingConfig charCodingConfig, ConnectionReuseStrategy connectionReuseStrategy, NHttpMessageParserFactory<HttpRequest> requestParserFactory, NHttpMessageWriterFactory<HttpResponse> responseWriterFactory, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, Http1StreamListener streamListener)`
    `ServerHttp1StreamDuplexerFactory(HttpProcessor httpProcessor, HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory, Http1Config http1Config, CharCodingConfig charCodingConfig, ConnectionReuseStrategy connectionReuseStrategy, NHttpMessageParserFactory<HttpRequest> requestParserFactory, NHttpMessageWriterFactory<HttpResponse> responseWriterFactory, Http1StreamListener streamListener)`
    `ServerHttp1StreamDuplexerFactory(HttpProcessor httpProcessor, HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory, Http1Config http1Config, CharCodingConfig charCodingConfig, Http1StreamListener streamListener)`

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

    Methods in org.apache.hc.core5.http.nio with parameters of type HandlerFactory
    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 HandlerFactory in org.apache.hc.core5.http.nio.command

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

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

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

    Classes in org.apache.hc.core5.http.nio.support that implement HandlerFactory
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AsyncServerFilterChainExchangeHandlerFactory` Factory for `AsyncServerExchangeHandler` instances that delegate request processing to a `AsyncServerFilterChainElement`.
    `class` | `DefaultAsyncResponseExchangeHandlerFactory` Factory for `AsyncServerExchangeHandler` instances that make use of `HttpRequestMapper` to dispatch the request to a particular `AsyncServerExchangeHandler` for processing.

    Constructors in org.apache.hc.core5.http.nio.support with parameters of type HandlerFactory
    Constructor and Description
    `TerminalAsyncServerFilter(HandlerFactory<AsyncServerExchangeHandler> handlerFactory)`

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

    Constructors in org.apache.hc.core5.http2.impl.nio with parameters of type HandlerFactory
    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)`
    `ServerH2StreamMultiplexer(ProtocolIOSession ioSession, FrameFactory frameFactory, HttpProcessor httpProcessor, HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory, CharCodingConfig charCodingConfig, H2Config h2Config, H2StreamListener streamListener)`
    `ServerH2StreamMultiplexer(ProtocolIOSession ioSession, HttpProcessor httpProcessor, HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory, CharCodingConfig charCodingConfig, H2Config h2Config)`
    `ServerH2StreamMultiplexerFactory(HttpProcessor httpProcessor, HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory, H2Config h2Config, CharCodingConfig charCodingConfig, H2StreamListener streamListener)`

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

    Methods in org.apache.hc.core5.http2.impl.nio.bootstrap with parameters of type HandlerFactory
    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)`
    `Cancellable` | H2MultiplexingRequester.`execute(HttpHost target, AsyncClientExchangeHandler exchangeHandler, HandlerFactory<AsyncPushConsumer> pushHandlerFactory, Timeout timeout, HttpContext context)`
    `<T> Future<T>` | H2MultiplexingRequester.`execute(HttpHost target, AsyncRequestProducer requestProducer, AsyncResponseConsumer<T> responseConsumer, HandlerFactory<AsyncPushConsumer> pushHandlerFactory, Timeout timeout, HttpContext context, FutureCallback<T> callback)`

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

    Classes in org.apache.hc.core5.http2.nio.support that implement HandlerFactory
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DefaultAsyncPushConsumerFactory` Factory for `AsyncPushConsumer` instances that make use of `HttpRequestMapper` to dispatch the request to a particular `AsyncPushConsumer` for processing.

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

    Methods in org.apache.hc.core5.testing.nio with parameters of type HandlerFactory
    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)`

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