| Package | Description | 
|---|---|
| org.apache.hc.core5.http | Core HTTP transport component APIs. | 
| org.apache.hc.core5.http.impl | Default implementations of core HTTP APIs. | 
| org.apache.hc.core5.http.impl.bootstrap | HTTP/1.1 requester and server bootstrap. | 
| org.apache.hc.core5.http.impl.io | Default implementation of HTTP/1.1 transport based on the classic
 (blocking) I/O model. | 
| 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.http.impl.routing | |
| org.apache.hc.core5.http.io | Core HTTP transport APIs based on the classic (blocking) I/O model. | 
| 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.ssl | TLS protocol support. | 
| org.apache.hc.core5.http.protocol | Core HTTP protocol interceptors. | 
| org.apache.hc.core5.http.ssl | |
| org.apache.hc.core5.http.support | |
| org.apache.hc.core5.http2.frame | Core HTTP/2 data frame APIs. | 
| org.apache.hc.core5.http2.hpack | HTTP/2 HPACK APIs. | 
| 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.http2.nio.command | HTTP/2 specific commands for HTTP/2 transport based
 on asynchronous, event driven I/O model. | 
| org.apache.hc.core5.http2.protocol | HTTP/2 protocol interceptors. | 
| org.apache.hc.core5.io | Core I/O component APIs and utilities. | 
| org.apache.hc.core5.pool | Client side connection pool component APIs. | 
| 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 | |
| org.apache.hc.core5.util | Core utility classes. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | ProtocolVersionParser | 
| static interface  | ProtocolVersionParser.Factory | 
| class  | RequestNotExecutedExceptionConnectionClosedExceptionsubclass that signals requests cannot not be executed
 due to the connection being closed. | 
| Modifier and Type | Method and Description | 
|---|---|
| static ProtocolVersion | ProtocolVersion. parse(CharSequence buffer,
     Tokenizer.Cursor cursor,
     Tokenizer.Delimiter delimiterPredicate) | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | Http1StreamListenerHTTP/1.1 stream event listener. | 
| class  | IncomingEntityDetailsHTTP message entity details. | 
| class  | ServerSupportHTTP Server support methods. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected static HttpHost | AsyncRequester. defaultTarget(HttpRequest request) | 
| 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. | 
| 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,
          SSLContext sslContext,
          Callback<SSLParameters> sslSetupHandler,
          ExceptionListener exceptionListener) | 
| Modifier and Type | Method and Description | 
|---|---|
| Socket | SocketHolder. getBaseSocket() | 
| SSLSocket | SocketHolder. getSSLSocket() | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | ClientHttp1StreamDuplexerI/O event handler for events fired by  ProtocolIOSessionthat implements
 client side HTTP/1.1 messaging protocol with full support for
 duplexed message transmission and message pipelining. | 
| class  | ClientHttp1StreamDuplexerFactoryClientHttp1StreamDuplexerfactory. | 
| class  | ExpandableBufferA buffer that expand its capacity on demand. | 
| interface  | HttpConnectionEventHandlerIOEventHandlerthat also exposesHttpConnectionproperties. | 
| class  | ServerHttp1StreamDuplexerI/O event handler for events fired by  ProtocolIOSessionthat implements
 server side HTTP/1.1 messaging protocol with full support for
 duplexed message transmission and message pipelining. | 
| class  | ServerHttp1StreamDuplexerFactoryServerHttp1StreamDuplexerfactory. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | PathRoute<T,H> | 
| static class  | RequestRouter.Entry<T> | 
| Modifier and Type | Method and Description | 
|---|---|
| static <T> RequestRouter<T> | RequestRouter. create(URIAuthority primaryAuthority,
      UriPatternType patternType,
      List<RequestRouter.Entry<T>> handlerEntries,
      BiFunction<String,URIAuthority,URIAuthority> authorityResolver,
      HttpRequestMapper<T> downstream) | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | ResponseOutOfOrderStrategyRepresents a strategy to determine how frequently the client should check for an out of order response. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | CommandSupportCommandutility methods. | 
| class  | ExecutableCommandAbstract executable command that may need to do some cleaning up
 in case of an failure and also optionally may want to cancel
 the associated HTTP message exchange through  CancellableDependency. | 
| class  | RequestExecutionCommandRequest execution command. | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | TlsUpgradeCapableCapability to upgrade to TLS. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | HttpCoreContext. setEndpointDetails(EndpointDetails endpointDetails) | 
| void | HttpCoreContext. setRequest(HttpRequest request) | 
| void | HttpCoreContext. setResponse(HttpResponse response) | 
| void | HttpCoreContext. setSSLSession(SSLSession sslSession) | 
| Modifier and Type | Method and Description | 
|---|---|
| static ProtocolVersion | TLS. parse(CharSequence buffer,
     Tokenizer.Cursor cursor,
     Tokenizer.Delimiter delimiterPredicate) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | ExpectationMessage expectations. | 
| class  | ExpectSupportServer side Expect header handling support. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | FramePrinter | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | HPackDecoderHPACK decoder. | 
| class  | HPackEncoderHPACK encoder. | 
| class  | HuffmanThis Huffman codec implementation has been derived from Twitter HPack project
 (https://github.com/twitter/hpack) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | ClientH2PrefaceHandlerI/O event handler for events fired by  ProtocolIOSessionthat implements
 client side of the HTTP/2 protocol negotiation handshake always forcing the choice
 of HTTP/2. | 
| class  | ClientH2StreamMultiplexerI/O event handler for events fired by  ProtocolIOSessionthat implements
 client side HTTP/2 messaging protocol with full support for
 multiplexed message transmission. | 
| class  | ClientH2StreamMultiplexerFactoryClientH2StreamMultiplexerfactory. | 
| class  | ClientH2UpgradeHandlerProtocol upgrade handler that upgrades the underlying  ProtocolIOSessionto HTTP/2 in case of a successful protocol negotiation. | 
| class  | ClientHttp1UpgradeHandlerProtocol upgrade handler that upgrades the underlying  ProtocolIOSessionto HTTP/1.1 in case of a successful protocol negotiation or as a default fall-back. | 
| class  | ClientHttpProtocolNegotiationStarterClient I/O event starter that prepares I/O sessions for an initial protocol handshake. | 
| interface  | H2StreamListenerHTTP/2 stream event listener. | 
| class  | HttpProtocolNegotiator | 
| class  | ServerH2PrefaceHandlerI/O event handler for events fired by  ProtocolIOSessionthat implements
 server side of the HTTP/2 protocol negotiation handshake. | 
| class  | ServerH2StreamMultiplexerI/O event handler for events fired by  ProtocolIOSessionthat implements
 server side HTTP/2 messaging protocol with full support for
 multiplexed message transmission. | 
| class  | ServerH2StreamMultiplexerFactoryServerH2StreamMultiplexerfactory. | 
| class  | ServerH2UpgradeHandlerProtocol upgrade handler that upgrades the underlying  ProtocolIOSessionto HTTP/2 in case of a successful protocol negotiation. | 
| class  | ServerHttp1UpgradeHandlerProtocol upgrade handler that upgrades the underlying  ProtocolIOSessionto HTTP/1.1 in case of a successful protocol negotiation or as a default fall-back. | 
| class  | ServerHttpProtocolNegotiationStarterServer I/O event starter that prepares I/O sessions for an initial protocol handshake. | 
| Modifier and Type | Method and Description | 
|---|---|
| H2ConnPool | H2MultiplexingRequester. getConnPool() | 
| 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  | PingCommandHTTP/2 ping command. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | H2RequestConformanceThis request interceptor is responsible for execution of the protocol conformance
 checks on incoming or outgoing HTTP/2 request messages. | 
| class  | H2ResponseConformanceThis response interceptor is responsible for making the protocol conformance checks
 of incoming or outgoing HTTP/2 response messages. | 
| Constructor and Description | 
|---|
| H2RequestConformance(String... illegalHeaderNames) | 
| H2ResponseConformance(String... illegalHeaderNames) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | SocketSupport | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | DefaultDisposalCallback<T extends SocketModalCloseable>Default implementation of  DisposalCallback. | 
| interface  | DisposalCallback<T extends ModalCloseable>Represents a customizable disposal strategy for  ModalCloseableinstances. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | EndpointParametersEndpoint initialization parameters | 
| interface  | IOEventHandlerIOEventHandler interface is used by I/O reactors to handle I/O events for individual
 I/O sessions. | 
| interface  | IOEventHandlerFactoryFactory interface to create  IOEventHandlerinstances for the given connected endpoints. | 
| interface  | IOSessionIOSession interface represents a sequence of logically related data exchanges
 between two end points. | 
| interface  | IOSessionListenerIOSessionevent listener. | 
| interface  | ProtocolUpgradeHandlerApplication protocol upgrade handler. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | SSLIOSessionSSLIOSessionis a decorator class intended to transparently extend
 anIOSessionwith transport layer security capabilities based on
 the SSL/TLS protocol. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | LoggingIOSession | 
| class  | LoggingIOSessionDecorator | 
| Constructor and Description | 
|---|
| LoggingIOSessionListener() | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | Reactive3TestUtils | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | ReflectionUtils | 
| Modifier and Type | Method and Description | 
|---|---|
| static byte | TextUtils. castAsByte(int c)Casts character to byte filtering non-visible and non-ASCII characters before conversion. | 
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.