Uses of Interface
org.apache.hc.core5.http.nio.HandlerFactory
Packages that use HandlerFactory
Package
Description
HTTP/1.1 requester and server bootstrap.
Default implementation of HTTP/1.1 transport based on
the asynchronous (non-blocking) I/O model.
Core HTTP transport APIs based on the asynchronous, event driven I/O model.
Commands for HTTP transports based on asynchronous, event driven I/O model.
Support classes for the asynchronous I/O model.
Default implementation of HTTP/2 transport based on
the asynchronous (non-blocking) I/O model.
HTTP/2 capable requester and server bootstrap.
Support classes for HTTP/2 asynchronous transport.
-
Uses of HandlerFactory in org.apache.hc.core5.http.impl.bootstrap
Methods in org.apache.hc.core5.http.impl.bootstrap with parameters of type HandlerFactoryModifier and TypeMethodDescriptionvoid
HttpAsyncRequester.execute
(AsyncClientExchangeHandler exchangeHandler, HandlerFactory<AsyncPushConsumer> pushHandlerFactory, Timeout timeout, HttpContext executeContext) final <T> Future
<T> HttpAsyncRequester.execute
(AsyncRequestProducer requestProducer, AsyncResponseConsumer<T> responseConsumer, HandlerFactory<AsyncPushConsumer> pushHandlerFactory, Timeout timeout, HttpContext context, FutureCallback<T> callback) void
HttpAsyncRequester.InternalAsyncClientEndpoint.execute
(AsyncClientExchangeHandler exchangeHandler, HandlerFactory<AsyncPushConsumer> pushHandlerFactory, HttpContext context) -
Uses of HandlerFactory in org.apache.hc.core5.http.impl.nio
Fields in org.apache.hc.core5.http.impl.nio declared as HandlerFactoryModifier and TypeFieldDescriptionprivate final HandlerFactory
<AsyncServerExchangeHandler> ServerHttp1StreamDuplexer.exchangeHandlerFactory
private final HandlerFactory
<AsyncServerExchangeHandler> ServerHttp1StreamDuplexerFactory.exchangeHandlerFactory
private final HandlerFactory
<AsyncServerExchangeHandler> ServerHttp1StreamHandler.exchangeHandlerFactory
Constructors in org.apache.hc.core5.http.impl.nio with parameters of type HandlerFactoryModifierConstructorDescriptionServerHttp1StreamDuplexer
(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) (package private)
ServerHttp1StreamHandler
(Http1StreamChannel<HttpResponse> outputChannel, HttpProcessor httpProcessor, ConnectionReuseStrategy connectionReuseStrategy, HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory, HttpCoreContext context) -
Uses of HandlerFactory in org.apache.hc.core5.http.nio
Methods in org.apache.hc.core5.http.nio with parameters of type HandlerFactoryModifier and TypeMethodDescriptionabstract void
AsyncClientEndpoint.execute
(AsyncClientExchangeHandler exchangeHandler, HandlerFactory<AsyncPushConsumer> pushHandlerFactory, HttpContext context) Initiates a message exchange using the given handler.final <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
Fields in org.apache.hc.core5.http.nio.command declared as HandlerFactoryModifier and TypeFieldDescriptionprivate final HandlerFactory
<AsyncPushConsumer> RequestExecutionCommand.pushHandlerFactory
Methods in org.apache.hc.core5.http.nio.command that return HandlerFactoryConstructors in org.apache.hc.core5.http.nio.command with parameters of type HandlerFactoryModifierConstructorDescriptionRequestExecutionCommand
(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 HandlerFactoryModifier and TypeClassDescriptionfinal class
Factory forAsyncServerExchangeHandler
instances that delegate request processing to aAsyncServerFilterChainElement
.final class
Factory forAsyncServerExchangeHandler
instances that make use ofHttpRequestMapper
to dispatch the request to a particularAsyncServerExchangeHandler
for processing.Fields in org.apache.hc.core5.http.nio.support declared as HandlerFactoryModifier and TypeFieldDescriptionprivate final HandlerFactory
<AsyncServerExchangeHandler> TerminalAsyncServerFilter.handlerFactory
Constructors in org.apache.hc.core5.http.nio.support with parameters of type HandlerFactoryModifierConstructorDescriptionTerminalAsyncServerFilter
(HandlerFactory<AsyncServerExchangeHandler> handlerFactory) -
Uses of HandlerFactory in org.apache.hc.core5.http2.impl.nio
Fields in org.apache.hc.core5.http2.impl.nio declared as HandlerFactoryModifier and TypeFieldDescriptionprivate final HandlerFactory
<AsyncServerExchangeHandler> ServerH2StreamHandler.exchangeHandlerFactory
private final HandlerFactory
<AsyncServerExchangeHandler> ServerH2StreamMultiplexer.exchangeHandlerFactory
private final HandlerFactory
<AsyncServerExchangeHandler> ServerH2StreamMultiplexerFactory.exchangeHandlerFactory
private final HandlerFactory
<AsyncPushConsumer> ClientH2StreamHandler.pushHandlerFactory
private final HandlerFactory
<AsyncPushConsumer> ClientH2StreamMultiplexer.pushHandlerFactory
private final HandlerFactory
<AsyncPushConsumer> ClientH2StreamMultiplexerFactory.pushHandlerFactory
private final HandlerFactory
<AsyncPushConsumer> ClientPushH2StreamHandler.pushHandlerFactory
Methods in org.apache.hc.core5.http2.impl.nio that return HandlerFactoryModifier and TypeMethodDescription(package private) HandlerFactory
<AsyncPushConsumer> AbstractH2StreamMultiplexer.H2Stream.getPushHandlerFactory()
ClientH2StreamHandler.getPushHandlerFactory()
ClientPushH2StreamHandler.getPushHandlerFactory()
H2StreamHandler.getPushHandlerFactory()
NoopH2StreamHandler.getPushHandlerFactory()
ServerH2StreamHandler.getPushHandlerFactory()
ServerPushH2StreamHandler.getPushHandlerFactory()
Methods in org.apache.hc.core5.http2.impl.nio with parameters of type HandlerFactoryModifier and TypeMethodDescription(package private) abstract H2StreamHandler
AbstractH2StreamMultiplexer.createRemotelyInitiatedStream
(H2StreamChannel channel, HttpProcessor httpProcessor, BasicHttpConnectionMetrics connMetrics, HandlerFactory<AsyncPushConsumer> pushHandlerFactory) (package private) H2StreamHandler
ClientH2StreamMultiplexer.createRemotelyInitiatedStream
(H2StreamChannel channel, HttpProcessor httpProcessor, BasicHttpConnectionMetrics connMetrics, HandlerFactory<AsyncPushConsumer> pushHandlerFactory) (package private) H2StreamHandler
ServerH2StreamMultiplexer.createRemotelyInitiatedStream
(H2StreamChannel channel, HttpProcessor httpProcessor, BasicHttpConnectionMetrics connMetrics, HandlerFactory<AsyncPushConsumer> pushHandlerFactory) Constructors in org.apache.hc.core5.http2.impl.nio with parameters of type HandlerFactoryModifierConstructorDescription(package private)
ClientH2StreamHandler
(H2StreamChannel outputChannel, HttpProcessor httpProcessor, BasicHttpConnectionMetrics connMetrics, AsyncClientExchangeHandler exchangeHandler, HandlerFactory<AsyncPushConsumer> pushHandlerFactory, HttpCoreContext context) ClientH2StreamMultiplexer
(ProtocolIOSession ioSession, HttpProcessor httpProcessor, HandlerFactory<AsyncPushConsumer> pushHandlerFactory, H2Config h2Config, CharCodingConfig charCodingConfig) ClientH2StreamMultiplexer
(ProtocolIOSession ioSession, FrameFactory frameFactory, HttpProcessor httpProcessor, HandlerFactory<AsyncPushConsumer> pushHandlerFactory, H2Config h2Config, CharCodingConfig charCodingConfig, H2StreamListener streamListener) ClientH2StreamMultiplexerFactory
(HttpProcessor httpProcessor, HandlerFactory<AsyncPushConsumer> pushHandlerFactory, H2Config h2Config, CharCodingConfig charCodingConfig, H2StreamListener streamListener) ClientH2StreamMultiplexerFactory
(HttpProcessor httpProcessor, HandlerFactory<AsyncPushConsumer> pushHandlerFactory, H2StreamListener streamListener) (package private)
ClientPushH2StreamHandler
(H2StreamChannel outputChannel, HttpProcessor httpProcessor, BasicHttpConnectionMetrics connMetrics, HandlerFactory<AsyncPushConsumer> pushHandlerFactory, HttpCoreContext context) (package private)
ServerH2StreamHandler
(H2StreamChannel outputChannel, HttpProcessor httpProcessor, BasicHttpConnectionMetrics connMetrics, HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory, HttpCoreContext context) ServerH2StreamMultiplexer
(ProtocolIOSession ioSession, HttpProcessor httpProcessor, HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory, CharCodingConfig charCodingConfig, H2Config h2Config) ServerH2StreamMultiplexer
(ProtocolIOSession ioSession, FrameFactory frameFactory, HttpProcessor httpProcessor, HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory, CharCodingConfig charCodingConfig, H2Config h2Config, H2StreamListener streamListener) 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 HandlerFactoryModifier and TypeMethodDescriptionprivate void
H2MultiplexingRequester.execute
(AsyncClientExchangeHandler exchangeHandler, HandlerFactory<AsyncPushConsumer> pushHandlerFactory, CancellableDependency cancellableDependency, Timeout timeout, HttpContext context) H2MultiplexingRequester.execute
(AsyncClientExchangeHandler exchangeHandler, HandlerFactory<AsyncPushConsumer> pushHandlerFactory, Timeout timeout, HttpContext context) final <T> Future
<T> H2MultiplexingRequester.execute
(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 HandlerFactoryModifier and TypeClassDescriptionfinal class
Factory forAsyncPushConsumer
instances that make use ofHttpRequestMapper
to dispatch the request to a particularAsyncPushConsumer
for processing. -
Uses of HandlerFactory in org.apache.hc.core5.testing.nio
Fields in org.apache.hc.core5.testing.nio declared as HandlerFactoryModifier and TypeFieldDescriptionprivate final HandlerFactory
<AsyncPushConsumer> InternalClientProtocolNegotiationStarter.exchangeHandlerFactory
private final HandlerFactory
<AsyncServerExchangeHandler> InternalServerHttp1EventHandlerFactory.exchangeHandlerFactory
private final HandlerFactory
<AsyncServerExchangeHandler> InternalServerProtocolNegotiationStarter.exchangeHandlerFactory
Methods in org.apache.hc.core5.testing.nio with parameters of type HandlerFactoryModifier and TypeMethodDescriptionprotected ServerHttp1StreamDuplexer
InternalServerHttp1EventHandlerFactory.createServerHttp1StreamDuplexer
(ProtocolIOSession ioSession, HttpProcessor httpProcessor, HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory, Http1Config http1Config, CharCodingConfig charCodingConfig, ConnectionReuseStrategy connectionReuseStrategy, NHttpMessageParser<HttpRequest> incomingMessageParser, NHttpMessageWriter<HttpResponse> outgoingMessageWriter, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, Http1StreamListener streamListener) 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) Constructors in org.apache.hc.core5.testing.nio with parameters of type HandlerFactoryModifierConstructorDescription(package private)
InternalClientProtocolNegotiationStarter
(HttpProcessor httpProcessor, HandlerFactory<AsyncPushConsumer> exchangeHandlerFactory, HttpVersionPolicy versionPolicy, H2Config h2Config, Http1Config http1Config, CharCodingConfig charCodingConfig, SSLContext sslContext, SSLSessionInitializer sslSessionInitializer, SSLSessionVerifier sslSessionVerifier) (package private)
InternalServerHttp1EventHandlerFactory
(HttpProcessor httpProcessor, HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory, Http1Config http1Config, CharCodingConfig charCodingConfig, ConnectionReuseStrategy connectionReuseStrategy, SSLContext sslContext, SSLSessionInitializer sslSessionInitializer, SSLSessionVerifier sslSessionVerifier) InternalServerProtocolNegotiationStarter
(HttpProcessor httpProcessor, HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory, HttpVersionPolicy versionPolicy, H2Config h2Config, Http1Config http1Config, CharCodingConfig charCodingConfig, SSLContext sslContext, SSLSessionInitializer sslSessionInitializer, SSLSessionVerifier sslSessionVerifier)