Uses of Interface
org.apache.hc.core5.function.Decorator
Packages that use Decorator
Package
Description
HTTP/1.1 requester and server bootstrap.
Support classes for the asynchronous I/O model.
HTTP/2 capable requester and server bootstrap.
Event driven network communication APIs and components loosely based on
Doug Lea's
reactor pattern.
-
Uses of Decorator in org.apache.hc.core5.http.impl.bootstrap
Fields in org.apache.hc.core5.http.impl.bootstrap declared as DecoratorModifier and TypeFieldDescriptionAsyncRequesterBootstrap.ioSessionDecorator
AsyncServerBootstrap.ioSessionDecorator
Methods in org.apache.hc.core5.http.impl.bootstrap with parameters of type DecoratorModifier and TypeMethodDescriptionfinal AsyncRequesterBootstrap
AsyncRequesterBootstrap.setIOSessionDecorator
(Decorator<IOSession> ioSessionDecorator) final AsyncServerBootstrap
AsyncServerBootstrap.setIOSessionDecorator
(Decorator<IOSession> ioSessionDecorator) Constructors in org.apache.hc.core5.http.impl.bootstrap with parameters of type DecoratorModifierConstructorDescriptionAsyncRequester
(IOEventHandlerFactory eventHandlerFactory, IOReactorConfig ioReactorConfig, Decorator<IOSession> ioSessionDecorator, Callback<Exception> exceptionCallback, IOSessionListener sessionListener, Callback<IOSession> sessionShutdownCallback, Resolver<HttpHost, InetSocketAddress> addressResolver) AsyncServer
(IOEventHandlerFactory eventHandlerFactory, IOReactorConfig ioReactorConfig, Decorator<IOSession> ioSessionDecorator, Callback<Exception> exceptionCallback, IOSessionListener sessionListener, Callback<IOSession> sessionShutdownCallback) HttpAsyncRequester
(IOReactorConfig ioReactorConfig, IOEventHandlerFactory eventHandlerFactory, Decorator<IOSession> ioSessionDecorator, Callback<Exception> exceptionCallback, IOSessionListener sessionListener, ManagedConnPool<HttpHost, IOSession> connPool) UseAsyncRequesterBootstrap
to create instances of this class.HttpAsyncRequester
(IOReactorConfig ioReactorConfig, IOEventHandlerFactory eventHandlerFactory, Decorator<IOSession> ioSessionDecorator, Callback<Exception> exceptionCallback, IOSessionListener sessionListener, ManagedConnPool<HttpHost, IOSession> connPool, TlsStrategy tlsStrategy, Timeout handshakeTimeout) UseAsyncRequesterBootstrap
to create instances of this class.HttpAsyncServer
(IOEventHandlerFactory eventHandlerFactory, IOReactorConfig ioReactorConfig, Decorator<IOSession> ioSessionDecorator, Callback<Exception> exceptionCallback, IOSessionListener sessionListener) UseAsyncServerBootstrap
to create instances of this class.HttpAsyncServer
(IOEventHandlerFactory eventHandlerFactory, IOReactorConfig ioReactorConfig, Decorator<IOSession> ioSessionDecorator, Callback<Exception> exceptionCallback, IOSessionListener sessionListener, String canonicalName) UseAsyncServerBootstrap
to create instances of this class. -
Uses of Decorator in org.apache.hc.core5.http.nio.support
Fields in org.apache.hc.core5.http.nio.support declared as DecoratorModifier and TypeFieldDescriptionprivate final Decorator
<AsyncServerExchangeHandler> DefaultAsyncResponseExchangeHandlerFactory.decorator
Constructors in org.apache.hc.core5.http.nio.support with parameters of type DecoratorModifierConstructorDescriptionDefaultAsyncResponseExchangeHandlerFactory
(HttpRequestMapper<Supplier<AsyncServerExchangeHandler>> mapper, Decorator<AsyncServerExchangeHandler> decorator) -
Uses of Decorator in org.apache.hc.core5.http2.impl.nio.bootstrap
Fields in org.apache.hc.core5.http2.impl.nio.bootstrap declared as DecoratorModifier and TypeFieldDescriptionH2MultiplexingRequesterBootstrap.ioSessionDecorator
H2RequesterBootstrap.ioSessionDecorator
H2ServerBootstrap.ioSessionDecorator
Methods in org.apache.hc.core5.http2.impl.nio.bootstrap with parameters of type DecoratorModifier and TypeMethodDescriptionH2MultiplexingRequesterBootstrap.setIOSessionDecorator
(Decorator<IOSession> ioSessionDecorator) final H2RequesterBootstrap
H2RequesterBootstrap.setIOSessionDecorator
(Decorator<IOSession> ioSessionDecorator) final H2ServerBootstrap
H2ServerBootstrap.setIOSessionDecorator
(Decorator<IOSession> ioSessionDecorator) Constructors in org.apache.hc.core5.http2.impl.nio.bootstrap with parameters of type DecoratorModifierConstructorDescriptionH2AsyncRequester
(HttpVersionPolicy versionPolicy, IOReactorConfig ioReactorConfig, IOEventHandlerFactory eventHandlerFactory, Decorator<IOSession> ioSessionDecorator, Callback<Exception> exceptionCallback, IOSessionListener sessionListener, ManagedConnPool<HttpHost, IOSession> connPool) UseH2RequesterBootstrap
to create instances of this class.H2AsyncRequester
(HttpVersionPolicy versionPolicy, IOReactorConfig ioReactorConfig, IOEventHandlerFactory eventHandlerFactory, Decorator<IOSession> ioSessionDecorator, Callback<Exception> exceptionCallback, IOSessionListener sessionListener, ManagedConnPool<HttpHost, IOSession> connPool, TlsStrategy tlsStrategy, Timeout handshakeTimeout) UseH2RequesterBootstrap
to create instances of this class.H2MultiplexingRequester
(IOReactorConfig ioReactorConfig, IOEventHandlerFactory eventHandlerFactory, Decorator<IOSession> ioSessionDecorator, Callback<Exception> exceptionCallback, IOSessionListener sessionListener, Resolver<HttpHost, InetSocketAddress> addressResolver, TlsStrategy tlsStrategy) UseH2MultiplexingRequesterBootstrap
to create instances of this class. -
Uses of Decorator in org.apache.hc.core5.reactor
Fields in org.apache.hc.core5.reactor declared as DecoratorModifier and TypeFieldDescriptionInternalDataChannel.ioSessionDecorator
SingleCoreIOReactor.ioSessionDecorator
Constructors in org.apache.hc.core5.reactor with parameters of type DecoratorModifierConstructorDescriptionDefaultConnectingIOReactor
(IOEventHandlerFactory eventHandlerFactory, IOReactorConfig ioReactorConfig, ThreadFactory threadFactory, Decorator<IOSession> ioSessionDecorator, Callback<Exception> exceptionCallback, IOSessionListener sessionListener, Callback<IOSession> sessionShutdownCallback) DefaultListeningIOReactor
(IOEventHandlerFactory eventHandlerFactory, IOReactorConfig ioReactorConfig, ThreadFactory dispatchThreadFactory, ThreadFactory listenerThreadFactory, Decorator<IOSession> ioSessionDecorator, Callback<Exception> exceptionCallback, IOSessionListener sessionListener, Callback<IOSession> sessionShutdownCallback) Creates an instance of DefaultListeningIOReactor with the given configuration.(package private)
InternalDataChannel
(IOSession ioSession, NamedEndpoint initialEndpoint, Decorator<IOSession> ioSessionDecorator, IOSessionListener sessionListener, Queue<InternalDataChannel> closedSessions) (package private)
SingleCoreIOReactor
(Callback<Exception> exceptionCallback, IOEventHandlerFactory eventHandlerFactory, IOReactorConfig reactorConfig, Decorator<IOSession> ioSessionDecorator, IOSessionListener sessionListener, Callback<IOSession> sessionShutdownCallback) -
Uses of Decorator in org.apache.hc.core5.testing.classic
Methods in org.apache.hc.core5.testing.classic with parameters of type DecoratorModifier and TypeMethodDescriptionvoid
ClassicTestServer.start
(Http1Config http1Config, HttpProcessor httpProcessor, Decorator<HttpServerRequestHandler> handlerDecorator) -
Uses of Decorator in org.apache.hc.core5.testing.nio
Classes in org.apache.hc.core5.testing.nio that implement DecoratorMethods in org.apache.hc.core5.testing.nio with parameters of type DecoratorModifier and TypeMethodDescriptionH2TestServer.start
(HttpProcessor httpProcessor, Decorator<AsyncServerExchangeHandler> exchangeHandlerDecorator, Http1Config http1Config) H2TestServer.start
(HttpProcessor httpProcessor, Decorator<AsyncServerExchangeHandler> exchangeHandlerDecorator, H2Config h2Config) Http1TestServer.start
(HttpProcessor httpProcessor, Decorator<AsyncServerExchangeHandler> exchangeHandlerDecorator, Http1Config http1Config)