Package | Description |
---|---|
org.apache.hc.core5.http.impl.bootstrap |
HTTP/1.1 requester and server bootstrap.
|
org.apache.hc.core5.reactor |
Event driven network communication APIs and components loosely based on
Doug Lea's
reactor pattern.
|
Modifier and Type | Method and Description |
---|---|
AsyncRequesterBootstrap |
AsyncRequesterBootstrap.setIOReactorConfig(IOReactorConfig ioReactorConfig)
Sets I/O reactor configuration.
|
AsyncServerBootstrap |
AsyncServerBootstrap.setIOReactorConfig(IOReactorConfig ioReactorConfig)
Sets I/O reactor configuration.
|
Constructor and Description |
---|
AsyncRequester(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)
Use
AsyncRequesterBootstrap 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)
Use
AsyncRequesterBootstrap to create instances of this class. |
HttpAsyncServer(IOEventHandlerFactory eventHandlerFactory,
IOReactorConfig ioReactorConfig,
Decorator<IOSession> ioSessionDecorator,
Callback<Exception> exceptionCallback,
IOSessionListener sessionListener)
Use
AsyncServerBootstrap to create instances of this class. |
HttpAsyncServer(IOEventHandlerFactory eventHandlerFactory,
IOReactorConfig ioReactorConfig,
Decorator<IOSession> ioSessionDecorator,
Callback<Exception> exceptionCallback,
IOSessionListener sessionListener,
String canonicalName)
Use
AsyncServerBootstrap to create instances of this class. |
Modifier and Type | Field and Description |
---|---|
static IOReactorConfig |
IOReactorConfig.DEFAULT |
Modifier and Type | Method and Description |
---|---|
IOReactorConfig |
IOReactorConfig.Builder.build() |
Modifier and Type | Method and Description |
---|---|
static IOReactorConfig.Builder |
IOReactorConfig.copy(IOReactorConfig config) |
Constructor and Description |
---|
DefaultConnectingIOReactor(IOEventHandlerFactory eventHandlerFactory,
IOReactorConfig config,
Callback<IOSession> sessionShutdownCallback) |
DefaultConnectingIOReactor(IOEventHandlerFactory eventHandlerFactory,
IOReactorConfig ioReactorConfig,
ThreadFactory threadFactory,
Decorator<IOSession> ioSessionDecorator,
Callback<Exception> exceptionCallback,
IOSessionListener sessionListener,
Callback<IOSession> sessionShutdownCallback) |
DefaultListeningIOReactor(IOEventHandlerFactory eventHandlerFactory,
IOReactorConfig config,
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,
Callback<IOSession> sessionShutdownCallback)
Creates an instance of DefaultListeningIOReactor with the given configuration.
|
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.