| 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.http.nio.support | Support classes for the asynchronous I/O model. | 
| org.apache.hc.core5.http.nio.support.classic | Support classes for the asynchronous I/O model that emulate
 behavior of the classic (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.reactive | |
| org.apache.hc.core5.testing.nio | 
| Modifier and Type | Method and Description | 
|---|---|
| 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)Registers the given  AsyncServerExchangeHandlerSupplieras a handler for URIs
 matching the given host and the pattern. | 
| AsyncServerBootstrap | AsyncServerBootstrap. setLookupRegistry(LookupRegistry<Supplier<AsyncServerExchangeHandler>> lookupRegistry)Assigns  LookupRegistryinstance. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AbstractServerExchangeHandler<T>Abstract server side message exchange handler. | 
| class  | BasicAsyncServerExpectationDecoratorAsyncServerExchangeHandlerimplementation that adds support
 for the Expect-Continue handshake to an existingAsyncServerExchangeHandler. | 
| class  | BasicServerExchangeHandler<T>Basic  AbstractServerExchangeHandlerimplementation that delegates
 request processing and response generation to aAsyncServerRequestHandler. | 
| class  | ImmediateResponseExchangeHandlerAsyncServerExchangeHandlerimplementation that immediately responds
 with a predefined response generated by aAsyncResponseProducerand
 ignores any entity content enclosed in the request message. | 
| Modifier and Type | Method and Description | 
|---|---|
| AsyncServerExchangeHandler | DefaultAsyncResponseExchangeHandlerFactory. create(HttpRequest request,
      HttpContext context) | 
| AsyncServerExchangeHandler | AsyncServerFilterChainExchangeHandlerFactory. create(HttpRequest request,
      HttpContext context) | 
| Constructor and Description | 
|---|
| BasicAsyncServerExpectationDecorator(AsyncServerExchangeHandler handler) | 
| BasicAsyncServerExpectationDecorator(AsyncServerExchangeHandler handler,
                                    Callback<Exception> exceptionCallback) | 
| Constructor and Description | 
|---|
| DefaultAsyncResponseExchangeHandlerFactory(HttpRequestMapper<Supplier<AsyncServerExchangeHandler>> mapper) | 
| DefaultAsyncResponseExchangeHandlerFactory(HttpRequestMapper<Supplier<AsyncServerExchangeHandler>> mapper,
                                          Decorator<AsyncServerExchangeHandler> decorator) | 
| DefaultAsyncResponseExchangeHandlerFactory(HttpRequestMapper<Supplier<AsyncServerExchangeHandler>> mapper,
                                          Decorator<AsyncServerExchangeHandler> decorator) | 
| TerminalAsyncServerFilter(HandlerFactory<AsyncServerExchangeHandler> handlerFactory) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AbstractClassicServerExchangeHandlerAsyncServerExchangeHandlerimplementation that acts as a compatibility
 layer for classicInputStream/OutputStreambased interfaces. | 
| Constructor and Description | 
|---|
| ServerH2StreamMultiplexer(ProtocolIOSession ioSession,
                         FrameFactory frameFactory,
                         HttpProcessor httpProcessor,
                         HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory,
                         CharCodingConfig charCodingConfig,
                         H2Config h2Config,
                         H2StreamListener streamListener) | 
| ServerH2StreamMultiplexer(ProtocolIOSession ioSession,
                         HttpProcessor httpProcessor,
                         HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory,
                         CharCodingConfig charCodingConfig,
                         H2Config h2Config) | 
| ServerH2StreamMultiplexerFactory(HttpProcessor httpProcessor,
                                HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory,
                                H2Config h2Config,
                                CharCodingConfig charCodingConfig,
                                H2StreamListener streamListener) | 
| Modifier and Type | Method and Description | 
|---|---|
| H2ServerBootstrap | H2ServerBootstrap. register(String uriPattern,
        Supplier<AsyncServerExchangeHandler> supplier)Registers the given  AsyncServerExchangeHandlerSupplieras a default handler for URIs
 matching the given pattern. | 
| H2ServerBootstrap | H2ServerBootstrap. registerVirtual(String hostname,
               String uriPattern,
               Supplier<AsyncServerExchangeHandler> supplier)Registers the given  AsyncServerExchangeHandlerSupplieras a handler for URIs
 matching the given host and the pattern. | 
| H2ServerBootstrap | H2ServerBootstrap. setLookupRegistry(LookupRegistry<Supplier<AsyncServerExchangeHandler>> lookupRegistry)Assigns  LookupRegistryinstance. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | ReactiveServerExchangeHandlerAn implementation of  AsyncServerExchangeHandlerdesigned to work with reactive streams. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | Http1TestServer. register(String uriPattern,
        Supplier<AsyncServerExchangeHandler> supplier) | 
| void | H2TestServer. register(String uriPattern,
        Supplier<AsyncServerExchangeHandler> supplier) | 
| InetSocketAddress | H2TestServer. start(HttpProcessor httpProcessor,
     Decorator<AsyncServerExchangeHandler> exchangeHandlerDecorator,
     H2Config h2Config) | 
| InetSocketAddress | Http1TestServer. start(HttpProcessor httpProcessor,
     Decorator<AsyncServerExchangeHandler> exchangeHandlerDecorator,
     Http1Config http1Config) | 
| InetSocketAddress | H2TestServer. start(HttpProcessor httpProcessor,
     Decorator<AsyncServerExchangeHandler> exchangeHandlerDecorator,
     Http1Config http1Config) | 
Copyright © 2005–2022 The Apache Software Foundation. All rights reserved.