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.
|
Modifier and Type | Method and Description |
---|---|
AsyncServerBootstrap |
AsyncServerBootstrap.register(String uriPattern,
Supplier<AsyncServerExchangeHandler> supplier)
Registers the given
AsyncServerExchangeHandler Supplier as a default handler for URIs
matching the given pattern. |
AsyncServerBootstrap |
AsyncServerBootstrap.registerVirtual(String hostname,
String uriPattern,
Supplier<AsyncServerExchangeHandler> supplier)
Registers the given
AsyncServerExchangeHandler Supplier as a handler for URIs
matching the given host and the pattern. |
AsyncServerBootstrap |
AsyncServerBootstrap.setLookupRegistry(LookupRegistry<Supplier<AsyncServerExchangeHandler>> lookupRegistry)
Assigns
LookupRegistry instance. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractServerExchangeHandler<T>
Abstract server side message exchange handler.
|
class |
BasicAsyncServerExpectationDecorator
AsyncServerExchangeHandler implementation that adds support
for the Expect-Continue handshake to an existing
AsyncServerExchangeHandler . |
class |
BasicServerExchangeHandler<T>
Basic
AbstractServerExchangeHandler implementation that delegates
request processing and response generation to a AsyncServerRequestHandler . |
class |
ImmediateResponseExchangeHandler
AsyncServerExchangeHandler implementation that immediately responds
with a predefined response generated by a AsyncResponseProducer and
ignores any entity content enclosed in the request message. |
Modifier and Type | Method and Description |
---|---|
AsyncServerExchangeHandler |
AsyncServerFilterChainExchangeHandlerFactory.create(HttpRequest request,
HttpContext context) |
AsyncServerExchangeHandler |
DefaultAsyncResponseExchangeHandlerFactory.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 |
AbstractClassicServerExchangeHandler
AsyncServerExchangeHandler implementation that acts as a compatibility
layer for classic InputStream / OutputStream based interfaces. |
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.