| Package | Description | 
|---|---|
| org.apache.hc.core5.http | Core HTTP transport component 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.io.entity | HTTP message entity APIs based on the classic (blocking) I/O model. | 
| org.apache.hc.core5.http.nio.support | Support classes for the asynchronous I/O model. | 
| org.apache.hc.core5.http.protocol | Core HTTP protocol interceptors. | 
| org.apache.hc.core5.http2.impl.nio.bootstrap | HTTP/2 capable requester and server bootstrap. | 
| org.apache.hc.core5.http2.nio.support | Support classes for HTTP/2 asynchronous transport. | 
| org.apache.hc.core5.testing.nio | 
| Modifier and Type | Method and Description | 
|---|---|
| Supplier<List<? extends Header>> | HttpEntity. getTrailers()Gets supplier of message trailers - headers sent after message body. | 
| Modifier and Type | Method and Description | 
|---|---|
| AsyncServerBootstrap | AsyncServerBootstrap. register(String hostname,
        String uriPattern,
        Supplier<AsyncServerExchangeHandler> supplier)Registers the given  AsyncServerExchangeHandlerSupplieras a handler for URIs
 matching the given host and pattern. | 
| AsyncServerBootstrap | AsyncServerBootstrap. register(String uriPattern,
        Supplier<AsyncServerExchangeHandler> supplier)Registers the given  AsyncServerExchangeHandlerSupplieras a default handler for URIs
 matching the given pattern. | 
| AsyncServerBootstrap | AsyncServerBootstrap. registerVirtual(String hostname,
               String uriPattern,
               Supplier<AsyncServerExchangeHandler> supplier)Deprecated. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
| AsyncServerBootstrap | AsyncServerBootstrap. setLookupRegistry(LookupRegistry<Supplier<AsyncServerExchangeHandler>> lookupRegistry)Deprecated. 
 Use  RequestRouter. | 
| AsyncServerBootstrap | AsyncServerBootstrap. setRequestRouter(HttpRequestMapper<Supplier<AsyncServerExchangeHandler>> requestRouter)Sets  HttpRequestMapperinstance. | 
| Constructor and Description | 
|---|
| ChunkedOutputStream(SessionOutputBuffer buffer,
                   OutputStream outputStream,
                   byte[] chunkCache,
                   Supplier<List<? extends Header>> trailerSupplier)Default constructor. | 
| ChunkedOutputStream(SessionOutputBuffer buffer,
                   OutputStream outputStream,
                   int chunkSizeHint,
                   Supplier<List<? extends Header>> trailerSupplier)Constructor taking an integer chunk size hint. | 
| Modifier and Type | Method and Description | 
|---|---|
| Supplier<List<? extends Header>> | HttpEntityWrapper. getTrailers() | 
| Supplier<List<? extends Header>> | AbstractHttpEntity. getTrailers()Gets supplier of message trailers - headers sent after message body. | 
| Supplier<List<? extends Header>> | NullEntity. getTrailers() | 
| Constructor and Description | 
|---|
| AbstractAsyncRequesterConsumer(Supplier<AsyncEntityConsumer<E>> dataConsumerSupplier) | 
| AbstractAsyncResponseConsumer(Supplier<AsyncEntityConsumer<E>> dataConsumerSupplier) | 
| BasicRequestConsumer(Supplier<AsyncEntityConsumer<T>> dataConsumerSupplier) | 
| BasicResponseConsumer(Supplier<AsyncEntityConsumer<T>> dataConsumerSupplier) | 
| Constructor and Description | 
|---|
| DefaultAsyncResponseExchangeHandlerFactory(HttpRequestMapper<Supplier<AsyncServerExchangeHandler>> mapper) | 
| DefaultAsyncResponseExchangeHandlerFactory(HttpRequestMapper<Supplier<AsyncServerExchangeHandler>> mapper,
                                          Decorator<AsyncServerExchangeHandler> decorator) | 
| Constructor and Description | 
|---|
| RequestHandlerRegistry(String canonicalHostName,
                      Supplier<LookupRegistry<T>> registrySupplier)Deprecated.  | 
| Modifier and Type | Method and Description | 
|---|---|
| H2MultiplexingRequesterBootstrap | H2MultiplexingRequesterBootstrap. register(String hostname,
        String uriPattern,
        Supplier<AsyncPushConsumer> supplier)Registers the given  AsyncPushConsumerSupplieras a handler for URIs
 matching the given host and the pattern. | 
| H2RequesterBootstrap | H2RequesterBootstrap. register(String hostname,
        String uriPattern,
        Supplier<AsyncPushConsumer> supplier)Registers the given  AsyncPushConsumerSupplieras a handler for URIs
 matching the given host and the pattern. | 
| H2ServerBootstrap | H2ServerBootstrap. register(String hostname,
        String uriPattern,
        Supplier<AsyncServerExchangeHandler> supplier)Registers the given  AsyncServerExchangeHandlerSupplieras a handler for URIs
 matching the given host and the pattern. | 
| H2MultiplexingRequesterBootstrap | H2MultiplexingRequesterBootstrap. register(String uriPattern,
        Supplier<AsyncPushConsumer> supplier)Registers the given  AsyncPushConsumerSupplieras a default handler for URIs
 matching the given pattern. | 
| H2RequesterBootstrap | H2RequesterBootstrap. register(String uriPattern,
        Supplier<AsyncPushConsumer> supplier)Registers the given  AsyncPushConsumerSupplieras a default handler for URIs
 matching the given pattern. | 
| H2ServerBootstrap | H2ServerBootstrap. register(String uriPattern,
        Supplier<AsyncServerExchangeHandler> supplier)Registers the given  AsyncServerExchangeHandlerSupplieras a default handler for URIs
 matching the given pattern. | 
| H2MultiplexingRequesterBootstrap | H2MultiplexingRequesterBootstrap. registerVirtual(String hostname,
               String uriPattern,
               Supplier<AsyncPushConsumer> supplier)Deprecated. 
 | 
| H2RequesterBootstrap | H2RequesterBootstrap. registerVirtual(String hostname,
               String uriPattern,
               Supplier<AsyncPushConsumer> supplier)Deprecated. 
 | 
| H2ServerBootstrap | H2ServerBootstrap. registerVirtual(String hostname,
               String uriPattern,
               Supplier<AsyncServerExchangeHandler> supplier)Deprecated. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
| H2ServerBootstrap | H2ServerBootstrap. setLookupRegistry(LookupRegistry<Supplier<AsyncServerExchangeHandler>> lookupRegistry)Deprecated. 
 Use  RequestRouter. | 
| H2ServerBootstrap | H2ServerBootstrap. setRequestRouter(HttpRequestMapper<Supplier<AsyncServerExchangeHandler>> requestRouter)Sets  HttpRequestMapperinstance. | 
| Constructor and Description | 
|---|
| DefaultAsyncPushConsumerFactory(HttpRequestMapper<Supplier<AsyncPushConsumer>> mapper) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | H2TestClient. register(String uriPattern,
        Supplier<AsyncPushConsumer> supplier) | 
| void | Http1TestServer. register(String uriPattern,
        Supplier<AsyncServerExchangeHandler> supplier) | 
| void | H2TestServer. register(String uriPattern,
        Supplier<AsyncServerExchangeHandler> supplier) | 
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.