| Package | Description | 
|---|---|
| org.apache.hc.core5.http.impl.bootstrap | HTTP/1.1 requester and server bootstrap. | 
| org.apache.hc.core5.http.io.ssl | |
| org.apache.hc.core5.http.nio.command | Commands for HTTP transports based on asynchronous, event driven I/O model. | 
| org.apache.hc.core5.http.nio.entity | HTTP message entity APIs based on the asynchronous (non-blocking) I/O model. | 
| 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.http2.nio.pool | HTTP/2 specific pool component APIs. | 
| org.apache.hc.core5.http2.nio.support | Support classes for HTTP/2 asynchronous transport. | 
| org.apache.hc.core5.pool | Client side connection pool component APIs. | 
| org.apache.hc.core5.reactive | |
| org.apache.hc.core5.reactor | Event driven network communication APIs and components loosely based on
 Doug Lea's
 reactor pattern. | 
| org.apache.hc.core5.reactor.ssl | TLS/SSL support for I/O reactors. | 
| org.apache.hc.core5.testing.nio | |
| org.apache.hc.core5.testing.reactive | 
| Modifier and Type | Method and Description | 
|---|---|
| AsyncRequesterBootstrap | AsyncRequesterBootstrap. setExceptionCallback(Callback<Exception> exceptionCallback) | 
| AsyncServerBootstrap | AsyncServerBootstrap. setExceptionCallback(Callback<Exception> exceptionCallback) | 
| ServerBootstrap | ServerBootstrap. setSslSetupHandler(Callback<SSLParameters> sslSetupHandler)Assigns  CallbackforSSLParameters. | 
| RequesterBootstrap | RequesterBootstrap. setSslSetupHandler(Callback<SSLParameters> sslSetupHandler)Assigns  CallbackforSSLParameters. | 
| Constructor and Description | 
|---|
| AsyncRequester(IOEventHandlerFactory eventHandlerFactory,
              IOReactorConfig ioReactorConfig,
              Decorator<IOSession> ioSessionDecorator,
              Callback<Exception> exceptionCallback,
              IOSessionListener sessionListener,
              Callback<IOSession> sessionShutdownCallback,
              Resolver<HttpHost,InetSocketAddress> addressResolver) | 
| 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) | 
| 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. | 
| 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. | 
| HttpRequester(HttpRequestExecutor requestExecutor,
             HttpProcessor httpProcessor,
             ManagedConnPool<HttpHost,HttpClientConnection> connPool,
             SocketConfig socketConfig,
             HttpConnectionFactory<? extends HttpClientConnection> connectFactory,
             SSLSocketFactory sslSocketFactory,
             Callback<SSLParameters> sslSetupHandler,
             SSLSessionVerifier sslSessionVerifier,
             Resolver<HttpHost,InetSocketAddress> addressResolver)Use  RequesterBootstrapto create instances of this class. | 
| HttpServer(int port,
          HttpService httpService,
          InetAddress ifAddress,
          SocketConfig socketConfig,
          ServerSocketFactory serverSocketFactory,
          HttpConnectionFactory<? extends DefaultBHttpServerConnection> connectionFactory,
          Callback<SSLParameters> sslSetupHandler,
          ExceptionListener exceptionListener) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | DefaultTlsSetupHandlerDefault TLS session setup handler. | 
| Modifier and Type | Field and Description | 
|---|---|
| static Callback<IOSession> | ShutdownCommand. GRACEFUL_IMMEDIATE_CALLBACK | 
| static Callback<IOSession> | ShutdownCommand. GRACEFUL_NORMAL_CALLBACK | 
| Modifier and Type | Method and Description | 
|---|---|
| static AsyncEntityProducer | AsyncEntityProducers. createBinary(Callback<StreamChannel<ByteBuffer>> callback,
            ContentType contentType) | 
| static AsyncEntityProducer | AsyncEntityProducers. createBinary(Callback<StreamChannel<ByteBuffer>> callback,
            ContentType contentType,
            Header... trailers) | 
| static AsyncEntityProducer | AsyncEntityProducers. createText(Callback<StreamChannel<CharBuffer>> callback,
          ContentType contentType) | 
| static AsyncEntityProducer | AsyncEntityProducers. createText(Callback<StreamChannel<CharBuffer>> callback,
          ContentType contentType,
          Header... trailers) | 
| Constructor and Description | 
|---|
| AsyncServerFilterChainExchangeHandlerFactory(AsyncServerFilterChainElement filterChain,
                                            Callback<Exception> exceptionCallback) | 
| BasicAsyncServerExpectationDecorator(AsyncServerExchangeHandler handler,
                                    Callback<Exception> exceptionCallback) | 
| Modifier and Type | Method and Description | 
|---|---|
| H2MultiplexingRequesterBootstrap | H2MultiplexingRequesterBootstrap. setExceptionCallback(Callback<Exception> exceptionCallback) | 
| H2RequesterBootstrap | H2RequesterBootstrap. setExceptionCallback(Callback<Exception> exceptionCallback) | 
| H2ServerBootstrap | H2ServerBootstrap. setExceptionCallback(Callback<Exception> exceptionCallback) | 
| 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. | 
| 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 | Method and Description | 
|---|---|
| protected void | H2ConnPool. validateSession(IOSession ioSession,
               Callback<Boolean> callback) | 
| Constructor and Description | 
|---|
| BasicPingHandler(Callback<Boolean> callback) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | LaxConnPool. enumAvailable(Callback<PoolEntry<T,C>> callback) | 
| void | StrictConnPool. enumAvailable(Callback<PoolEntry<T,C>> callback)Enumerates all available connections. | 
| void | LaxConnPool. enumLeased(Callback<PoolEntry<T,C>> callback) | 
| void | StrictConnPool. enumLeased(Callback<PoolEntry<T,C>> callback)Enumerates all leased connections. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | ReactiveRequestProcessor. processRequest(HttpRequest request,
              EntityDetails entityDetails,
              ResponseChannel responseChannel,
              HttpContext context,
              org.reactivestreams.Publisher<ByteBuffer> requestBody,
              Callback<org.reactivestreams.Publisher<ByteBuffer>> responseBodyCallback)Processes the actual HTTP request. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | AbstractIOSessionPool. enumAvailable(Callback<IOSession> callback) | 
| protected abstract void | AbstractIOSessionPool. validateSession(IOSession ioSession,
               Callback<Boolean> callback) | 
| 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) | 
| 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. | 
| 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. | 
| Constructor and Description | 
|---|
| SSLIOSession(NamedEndpoint targetEndpoint,
            IOSession session,
            SSLMode sslMode,
            SSLContext sslContext,
            SSLBufferMode sslBufferMode,
            SSLSessionInitializer initializer,
            SSLSessionVerifier verifier,
            Callback<SSLIOSession> sessionStartCallback,
            Callback<SSLIOSession> sessionEndCallback,
            Timeout connectTimeout)Creates new instance of  SSLIOSessionclass. | 
| SSLIOSession(NamedEndpoint targetEndpoint,
            IOSession session,
            SSLMode sslMode,
            SSLContext sslContext,
            SSLBufferMode sslBufferMode,
            SSLSessionInitializer initializer,
            SSLSessionVerifier verifier,
            Callback<SSLIOSession> sessionStartCallback,
            Callback<SSLIOSession> sessionEndCallback,
            Timeout connectTimeout)Creates new instance of  SSLIOSessionclass. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | LoggingExceptionCallback | 
| Modifier and Type | Method and Description | 
|---|---|
| void | ReactiveEchoProcessor. processRequest(HttpRequest request,
              EntityDetails entityDetails,
              ResponseChannel responseChannel,
              HttpContext context,
              org.reactivestreams.Publisher<ByteBuffer> requestBody,
              Callback<org.reactivestreams.Publisher<ByteBuffer>> responseBodyFuture) | 
| void | ReactiveRandomProcessor. processRequest(HttpRequest request,
              EntityDetails entityDetails,
              ResponseChannel responseChannel,
              HttpContext context,
              org.reactivestreams.Publisher<ByteBuffer> requestBody,
              Callback<org.reactivestreams.Publisher<ByteBuffer>> responseBodyCallback) | 
Copyright © 2005–2022 The Apache Software Foundation. All rights reserved.