| Package | Description |
|---|---|
| org.apache.hc.core5.http.impl.bootstrap |
HTTP/1.1 requester and server bootstrap.
|
| org.apache.hc.core5.http.impl.nio |
Default implementation of HTTP/1.1 transport based on
the asynchronous (non-blocking) I/O model.
|
| org.apache.hc.core5.reactor |
Event driven network communication APIs and components loosely based on
Doug Lea's
reactor pattern.
|
| Constructor and Description |
|---|
AsyncRequester(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)
Use
AsyncRequesterBootstrap to create instances of this class. |
HttpAsyncServer(IOEventHandlerFactory eventHandlerFactory,
IOReactorConfig ioReactorConfig,
Decorator<IOSession> ioSessionDecorator,
Callback<Exception> exceptionCallback,
IOSessionListener sessionListener,
IOReactorMetricsListener threadPoolListener,
IOWorkerSelector workerSelector,
String canonicalName)
Use
AsyncServerBootstrap to create instances of this class. |
| Modifier and Type | Class and Description |
|---|---|
class |
ClientHttp1IOEventHandlerFactory
ClientHttp1IOEventHandler factory. |
class |
ServerHttp1IOEventHandlerFactory
ServerHttp1IOEventHandler factory. |
| Modifier and Type | Class and Description |
|---|---|
class |
SocksProxyProtocolHandlerFactory
Deprecated.
Use
IOReactorConfig.
As of version 5.0.1 SocksProxyProtocolHandlerFactory.createHandler(ProtocolIOSession, Object) throws UnsupportedOperationException. |
| Constructor and Description |
|---|
DefaultConnectingIOReactor(IOEventHandlerFactory eventHandlerFactory)
Creates an instance of DefaultConnectingIOReactor with default configuration.
|
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) |
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)
Creates an instance of DefaultListeningIOReactor with default configuration.
|
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.
|
DefaultListeningIOReactor(IOEventHandlerFactory eventHandlerFactory,
IOReactorConfig ioReactorConfig,
ThreadFactory dispatchThreadFactory,
ThreadFactory listenerThreadFactory,
Decorator<IOSession> ioSessionDecorator,
Callback<Exception> exceptionCallback,
IOSessionListener sessionListener,
IOReactorMetricsListener threadPoolListener,
Callback<IOSession> sessionShutdownCallback,
IOWorkerSelector workerSelector) |
SocksProxyProtocolHandlerFactory(SocketAddress targetAddress,
String username,
String password,
IOEventHandlerFactory eventHandlerFactory)
Deprecated.
|
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.