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.
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
Methods in org.apache.hc.core5.http.impl.bootstrap with parameters of type DecoratorModifier and TypeMethodDescriptionfinal AsyncRequesterBootstrapAsyncRequesterBootstrap.setIOSessionDecorator(Decorator<IOSession> ioSessionDecorator) final AsyncServerBootstrapAsyncServerBootstrap.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, IOReactorMetricsListener threadPoolListener, IOWorkerSelector workerSelector) AsyncServer(IOEventHandlerFactory eventHandlerFactory, IOReactorConfig ioReactorConfig, Decorator<IOSession> ioSessionDecorator, Callback<Exception> exceptionCallback, IOSessionListener sessionListener, IOReactorMetricsListener threadPoolListener, Callback<IOSession> sessionShutdownCallback, IOWorkerSelector workerSelector) HttpAsyncRequester(IOReactorConfig ioReactorConfig, IOEventHandlerFactory eventHandlerFactory, Decorator<IOSession> ioSessionDecorator, Callback<Exception> exceptionCallback, IOSessionListener sessionListener, ManagedConnPool<HttpHost, IOSession> connPool, TlsStrategy tlsStrategy, Timeout handshakeTimeout, IOReactorMetricsListener threadPoolListener, IOWorkerSelector workerSelector, int maxPendingCommandsPerConnection) UseAsyncRequesterBootstrapto create instances of this class.HttpAsyncServer(IOEventHandlerFactory eventHandlerFactory, IOReactorConfig ioReactorConfig, Decorator<IOSession> ioSessionDecorator, Callback<Exception> exceptionCallback, IOSessionListener sessionListener, IOReactorMetricsListener threadPoolListener, IOWorkerSelector workerSelector, String canonicalName) UseAsyncServerBootstrapto create instances of this class. -
Uses of Decorator in org.apache.hc.core5.http.nio.support
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.reactor
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) DefaultConnectingIOReactor(IOEventHandlerFactory eventHandlerFactory, IOReactorConfig ioReactorConfig, ThreadFactory threadFactory, Decorator<IOSession> ioSessionDecorator, Callback<Exception> exceptionCallback, IOSessionListener sessionListener, IOReactorMetricsListener threadPoolListener, Callback<IOSession> sessionShutdownCallback, IOWorkerSelector workerSelector) 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.DefaultListeningIOReactor(IOEventHandlerFactory eventHandlerFactory, IOReactorConfig ioReactorConfig, ThreadFactory dispatchThreadFactory, ThreadFactory listenerThreadFactory, Decorator<IOSession> ioSessionDecorator, Callback<Exception> exceptionCallback, IOSessionListener sessionListener, IOReactorMetricsListener threadPoolListener, Callback<IOSession> sessionShutdownCallback, IOWorkerSelector workerSelector)