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. -
-
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. ioSessionDecoratorprivate Decorator<IOSession>AsyncServerBootstrap. ioSessionDecoratorMethods in org.apache.hc.core5.http.impl.bootstrap with parameters of type Decorator Modifier and Type Method Description AsyncRequesterBootstrapAsyncRequesterBootstrap. setIOSessionDecorator(Decorator<IOSession> ioSessionDecorator)AsyncServerBootstrapAsyncServerBootstrap. 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)UseAsyncRequesterBootstrapto 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)UseAsyncRequesterBootstrapto create instances of this class.HttpAsyncServer(IOEventHandlerFactory eventHandlerFactory, IOReactorConfig ioReactorConfig, Decorator<IOSession> ioSessionDecorator, Callback<java.lang.Exception> exceptionCallback, IOSessionListener sessionListener)UseAsyncServerBootstrapto create instances of this class.HttpAsyncServer(IOEventHandlerFactory eventHandlerFactory, IOReactorConfig ioReactorConfig, Decorator<IOSession> ioSessionDecorator, Callback<java.lang.Exception> exceptionCallback, IOSessionListener sessionListener, java.lang.String canonicalName)UseAsyncServerBootstrapto 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. decoratorConstructors 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. ioSessionDecoratorprivate Decorator<IOSession>H2RequesterBootstrap. ioSessionDecoratorprivate Decorator<IOSession>H2ServerBootstrap. ioSessionDecoratorMethods in org.apache.hc.core5.http2.impl.nio.bootstrap with parameters of type Decorator Modifier and Type Method Description H2MultiplexingRequesterBootstrapH2MultiplexingRequesterBootstrap. setIOSessionDecorator(Decorator<IOSession> ioSessionDecorator)H2RequesterBootstrapH2RequesterBootstrap. setIOSessionDecorator(Decorator<IOSession> ioSessionDecorator)H2ServerBootstrapH2ServerBootstrap. 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)UseH2RequesterBootstrapto 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)UseH2RequesterBootstrapto 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)UseH2MultiplexingRequesterBootstrapto 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. ioSessionDecoratorprivate Decorator<IOSession>SingleCoreIOReactor. ioSessionDecoratorConstructors 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)
-