Package | Description |
---|---|
org.apache.http.impl.nio.bootstrap |
Embedded non-blocking server and server bootstrap.
|
org.apache.http.nio.protocol |
Core HTTP protocol execution framework and HTTP protocol handlers
for asynchronous, event driven communication.
|
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.String,HttpAsyncRequestHandler<?>> |
ServerBootstrap.handlerMap |
Modifier and Type | Method and Description |
---|---|
ServerBootstrap |
ServerBootstrap.registerHandler(java.lang.String pattern,
HttpAsyncRequestHandler<?> handler)
Registers the given
HttpAsyncRequestHandler
as a handler for URIs matching the given pattern. |
Modifier and Type | Class and Description |
---|---|
class |
BasicAsyncRequestHandler
Basic implementation of
HttpAsyncRequestHandler that delegates
the process of request handling to a HttpRequestHandler . |
(package private) class |
NullRequestHandler |
Modifier and Type | Field and Description |
---|---|
private HttpAsyncRequestHandler<java.lang.Object> |
HttpAsyncService.Incoming.handler |
private HttpAsyncRequestHandler<java.lang.Object> |
HttpAsyncService.PipelineEntry.handler |
Modifier and Type | Field and Description |
---|---|
private UriPatternMatcher<HttpAsyncRequestHandler<?>> |
HttpAsyncRequestHandlerRegistry.matcher
Deprecated.
|
private UriPatternMatcher<HttpAsyncRequestHandler<?>> |
UriHttpAsyncRequestHandlerMapper.matcher |
Modifier and Type | Method and Description |
---|---|
HttpAsyncRequestHandler<java.lang.Object> |
HttpAsyncService.Incoming.getHandler() |
HttpAsyncRequestHandler<java.lang.Object> |
HttpAsyncService.PipelineEntry.getHandler() |
private HttpAsyncRequestHandler<java.lang.Object> |
HttpAsyncService.getRequestHandler(HttpRequest request) |
HttpAsyncRequestHandler<?> |
UriHttpAsyncRequestHandlerMapper.lookup(HttpRequest request)
Looks up a handler matching the given request URI.
|
HttpAsyncRequestHandler<?> |
HttpAsyncRequestHandlerMapper.lookup(HttpRequest request)
Looks up a handler matching the given request.
|
HttpAsyncRequestHandler<?> |
HttpAsyncService.HttpAsyncRequestHandlerResolverAdapter.lookup(HttpRequest request)
Deprecated.
|
HttpAsyncRequestHandler<?> |
HttpAsyncRequestHandlerRegistry.lookup(java.lang.String requestURI)
Deprecated.
|
HttpAsyncRequestHandler<?> |
HttpAsyncRequestHandlerResolver.lookup(java.lang.String requestURI)
Deprecated.
Looks up a handler matching the given request URI.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,HttpAsyncRequestHandler<?>> |
HttpAsyncRequestHandlerRegistry.getHandlers()
Deprecated.
Get the handler map.
|
UriPatternMatcher<HttpAsyncRequestHandler<?>> |
UriHttpAsyncRequestHandlerMapper.getUriPatternMatcher()
Gets the pattern matcher.
|
Modifier and Type | Method and Description |
---|---|
void |
HttpAsyncRequestHandlerRegistry.register(java.lang.String pattern,
HttpAsyncRequestHandler<?> handler)
Deprecated.
Registers the given
HttpAsyncRequestHandler as a handler for URIs
matching the given pattern. |
void |
UriHttpAsyncRequestHandlerMapper.register(java.lang.String pattern,
HttpAsyncRequestHandler<?> handler)
Registers the given
HttpAsyncRequestHandler as a handler for URIs
matching the given pattern. |
Modifier and Type | Method and Description |
---|---|
void |
HttpAsyncRequestHandlerRegistry.setHandlers(java.util.Map<java.lang.String,HttpAsyncRequestHandler<?>> map)
Deprecated.
Sets handlers from the given map.
|
Constructor and Description |
---|
Incoming(HttpRequest request,
HttpAsyncRequestHandler<java.lang.Object> handler,
HttpAsyncRequestConsumer<java.lang.Object> consumer,
HttpContext context) |
PipelineEntry(HttpRequest request,
java.lang.Object result,
java.lang.Exception exception,
HttpAsyncRequestHandler<java.lang.Object> handler,
HttpContext context) |
Constructor and Description |
---|
UriHttpAsyncRequestHandlerMapper(UriPatternMatcher<HttpAsyncRequestHandler<?>> matcher) |