Uses of Interface
org.apache.hc.core5.function.Decorator
-
Packages that use Decorator Package Description org.apache.hc.core5.http.impl.bootstrap HTTP/1.1 requester and server bootstrap.org.apache.hc.core5.http.nio.support Support classes for the asynchronous I/O model.org.apache.hc.core5.http2.impl.nio.bootstrap HTTP/2 capable requester and server bootstrap.org.apache.hc.core5.reactor Event driven network communication APIs and components loosely based on Doug Lea's reactor pattern.org.apache.hc.core5.testing.classic org.apache.hc.core5.testing.nio -
-
Uses of Decorator in org.apache.hc.core5.http.impl.bootstrap
Fields in org.apache.hc.core5.http.impl.bootstrap declared as Decorator Modifier and Type Field Description private Decorator<IOSession>
AsyncRequesterBootstrap. ioSessionDecorator
private Decorator<IOSession>
AsyncServerBootstrap. ioSessionDecorator
Methods in org.apache.hc.core5.http.impl.bootstrap with parameters of type Decorator Modifier and Type Method Description AsyncRequesterBootstrap
AsyncRequesterBootstrap. setIOSessionDecorator(Decorator<IOSession> ioSessionDecorator)
AsyncServerBootstrap
AsyncServerBootstrap. setIOSessionDecorator(Decorator<IOSession> ioSessionDecorator)
Constructors in org.apache.hc.core5.http.impl.bootstrap with parameters of type Decorator Constructor Description AsyncRequester(IOEventHandlerFactory eventHandlerFactory, IOReactorConfig ioReactorConfig, Decorator<IOSession> ioSessionDecorator, Callback<java.lang.Exception> exceptionCallback, IOSessionListener sessionListener, Callback<IOSession> sessionShutdownCallback, Resolver<HttpHost,java.net.InetSocketAddress> addressResolver)
AsyncServer(IOEventHandlerFactory eventHandlerFactory, IOReactorConfig ioReactorConfig, Decorator<IOSession> ioSessionDecorator, Callback<java.lang.Exception> exceptionCallback, IOSessionListener sessionListener, Callback<IOSession> sessionShutdownCallback)
HttpAsyncRequester(IOReactorConfig ioReactorConfig, IOEventHandlerFactory eventHandlerFactory, Decorator<IOSession> ioSessionDecorator, Callback<java.lang.Exception> exceptionCallback, IOSessionListener sessionListener, ManagedConnPool<HttpHost,IOSession> connPool)
UseAsyncRequesterBootstrap
to create instances of this class.HttpAsyncRequester(IOReactorConfig ioReactorConfig, IOEventHandlerFactory eventHandlerFactory, Decorator<IOSession> ioSessionDecorator, Callback<java.lang.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<java.lang.Exception> exceptionCallback, IOSessionListener sessionListener)
UseAsyncServerBootstrap
to create instances of this class.HttpAsyncServer(IOEventHandlerFactory eventHandlerFactory, IOReactorConfig ioReactorConfig, Decorator<IOSession> ioSessionDecorator, Callback<java.lang.Exception> exceptionCallback, IOSessionListener sessionListener, java.lang.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 Decorator Modifier and Type Field Description private Decorator<AsyncServerExchangeHandler>
DefaultAsyncResponseExchangeHandlerFactory. decorator
Constructors in org.apache.hc.core5.http.nio.support with parameters of type Decorator Constructor Description DefaultAsyncResponseExchangeHandlerFactory(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 Decorator Modifier and Type Field Description private Decorator<IOSession>
H2MultiplexingRequesterBootstrap. ioSessionDecorator
private Decorator<IOSession>
H2RequesterBootstrap. ioSessionDecorator
private Decorator<IOSession>
H2ServerBootstrap. ioSessionDecorator
Methods in org.apache.hc.core5.http2.impl.nio.bootstrap with parameters of type Decorator Modifier and Type Method Description H2MultiplexingRequesterBootstrap
H2MultiplexingRequesterBootstrap. setIOSessionDecorator(Decorator<IOSession> ioSessionDecorator)
H2RequesterBootstrap
H2RequesterBootstrap. setIOSessionDecorator(Decorator<IOSession> ioSessionDecorator)
H2ServerBootstrap
H2ServerBootstrap. setIOSessionDecorator(Decorator<IOSession> ioSessionDecorator)
Constructors in org.apache.hc.core5.http2.impl.nio.bootstrap with parameters of type Decorator Constructor Description H2AsyncRequester(HttpVersionPolicy versionPolicy, IOReactorConfig ioReactorConfig, IOEventHandlerFactory eventHandlerFactory, Decorator<IOSession> ioSessionDecorator, Callback<java.lang.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<java.lang.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<java.lang.Exception> exceptionCallback, IOSessionListener sessionListener, Resolver<HttpHost,java.net.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 Decorator Modifier and Type Field Description private Decorator<IOSession>
InternalDataChannel. ioSessionDecorator
private Decorator<IOSession>
SingleCoreIOReactor. ioSessionDecorator
Constructors in org.apache.hc.core5.reactor with parameters of type Decorator Constructor Description DefaultConnectingIOReactor(IOEventHandlerFactory eventHandlerFactory, IOReactorConfig ioReactorConfig, java.util.concurrent.ThreadFactory threadFactory, Decorator<IOSession> ioSessionDecorator, Callback<java.lang.Exception> exceptionCallback, IOSessionListener sessionListener, Callback<IOSession> sessionShutdownCallback)
DefaultListeningIOReactor(IOEventHandlerFactory eventHandlerFactory, IOReactorConfig ioReactorConfig, java.util.concurrent.ThreadFactory dispatchThreadFactory, java.util.concurrent.ThreadFactory listenerThreadFactory, Decorator<IOSession> ioSessionDecorator, Callback<java.lang.Exception> exceptionCallback, IOSessionListener sessionListener, Callback<IOSession> sessionShutdownCallback)
Creates an instance of DefaultListeningIOReactor with the given configuration.InternalDataChannel(IOSession ioSession, NamedEndpoint initialEndpoint, Decorator<IOSession> ioSessionDecorator, IOSessionListener sessionListener, java.util.Queue<InternalDataChannel> closedSessions)
SingleCoreIOReactor(Callback<java.lang.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 Decorator Modifier and Type Method Description void
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 Decorator Modifier and Type Class Description class
LoggingIOSessionDecorator
Methods in org.apache.hc.core5.testing.nio with parameters of type Decorator Modifier and Type Method Description java.net.InetSocketAddress
H2TestServer. start(HttpProcessor httpProcessor, Decorator<AsyncServerExchangeHandler> exchangeHandlerDecorator, Http1Config http1Config)
java.net.InetSocketAddress
H2TestServer. start(HttpProcessor httpProcessor, Decorator<AsyncServerExchangeHandler> exchangeHandlerDecorator, H2Config h2Config)
java.net.InetSocketAddress
Http1TestServer. start(HttpProcessor httpProcessor, Decorator<AsyncServerExchangeHandler> exchangeHandlerDecorator, Http1Config http1Config)
-