| 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.http2.impl.nio | Default implementation of HTTP/2 transport based on
 the asynchronous (non-blocking) 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.nio | 
| 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  AsyncRequesterBootstrapto 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  AsyncRequesterBootstrapto create instances of this class. | 
| HttpAsyncServer(IOEventHandlerFactory eventHandlerFactory,
               IOReactorConfig ioReactorConfig,
               Decorator<IOSession> ioSessionDecorator,
               Callback<Exception> exceptionCallback,
               IOSessionListener sessionListener)Use  AsyncServerBootstrapto create instances of this class. | 
| HttpAsyncServer(IOEventHandlerFactory eventHandlerFactory,
               IOReactorConfig ioReactorConfig,
               Decorator<IOSession> ioSessionDecorator,
               Callback<Exception> exceptionCallback,
               IOSessionListener sessionListener,
               String canonicalName)Use  AsyncServerBootstrapto create instances of this class. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | ClientHttp1IOEventHandlerFactoryClientHttp1IOEventHandlerfactory. | 
| class  | ServerHttp1IOEventHandlerFactoryServerHttp1IOEventHandlerfactory. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | ClientHttpProtocolNegotiationStarterClient I/O event starter that prepares I/O sessions for an initial protocol handshake. | 
| class  | ServerHttpProtocolNegotiationStarterServer I/O event starter that prepares I/O sessions for an initial protocol handshake. | 
| Constructor and Description | 
|---|
| H2AsyncRequester(HttpVersionPolicy versionPolicy,
                IOReactorConfig ioReactorConfig,
                IOEventHandlerFactory eventHandlerFactory,
                Decorator<IOSession> ioSessionDecorator,
                Callback<Exception> exceptionCallback,
                IOSessionListener sessionListener,
                ManagedConnPool<HttpHost,IOSession> connPool)Use  H2RequesterBootstrapto create instances of this class. | 
| H2AsyncRequester(HttpVersionPolicy versionPolicy,
                IOReactorConfig ioReactorConfig,
                IOEventHandlerFactory eventHandlerFactory,
                Decorator<IOSession> ioSessionDecorator,
                Callback<Exception> exceptionCallback,
                IOSessionListener sessionListener,
                ManagedConnPool<HttpHost,IOSession> connPool,
                TlsStrategy tlsStrategy,
                Timeout handshakeTimeout)Use  H2RequesterBootstrapto create instances of this class. | 
| H2MultiplexingRequester(IOReactorConfig ioReactorConfig,
                       IOEventHandlerFactory eventHandlerFactory,
                       Decorator<IOSession> ioSessionDecorator,
                       Callback<Exception> exceptionCallback,
                       IOSessionListener sessionListener,
                       Resolver<HttpHost,InetSocketAddress> addressResolver,
                       TlsStrategy tlsStrategy)Use  H2MultiplexingRequesterBootstrapto create instances of this class. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | SocksProxyProtocolHandlerFactoryDeprecated. 
 Use  IOReactorConfig.
 As of version 5.0.1SocksProxyProtocolHandlerFactory.createHandler(ProtocolIOSession, Object)throwsUnsupportedOperationException. | 
| 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) | 
| 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. | 
| SocksProxyProtocolHandlerFactory(SocketAddress targetAddress,
                                String username,
                                String password,
                                IOEventHandlerFactory eventHandlerFactory)Deprecated.  | 
| Modifier and Type | Method and Description | 
|---|---|
| void | H2TestClient. start(IOEventHandlerFactory handlerFactory) | 
| InetSocketAddress | Http1TestServer. start(IOEventHandlerFactory handlerFactory) | 
| void | H2TestServer. start(IOEventHandlerFactory handlerFactory) | 
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.