| 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 | Method | 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 | Description |
|---|---|---|
class |
BasicAsyncRequestHandler |
Basic implementation of
HttpAsyncRequestHandler that delegates
the process of request handling to a HttpRequestHandler. |
| Modifier and Type | Method | Description |
|---|---|---|
HttpAsyncRequestHandler<?> |
HttpAsyncRequestHandlerMapper.lookup(org.apache.http.HttpRequest request) |
Looks up a handler matching the given request.
|
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.
|
HttpAsyncRequestHandler<?> |
UriHttpAsyncRequestHandlerMapper.lookup(org.apache.http.HttpRequest request) |
Looks up a handler matching the given request URI.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Map<java.lang.String,HttpAsyncRequestHandler<?>> |
HttpAsyncRequestHandlerRegistry.getHandlers() |
Deprecated.
Get the handler map.
|
org.apache.http.protocol.UriPatternMatcher<HttpAsyncRequestHandler<?>> |
UriHttpAsyncRequestHandlerMapper.getUriPatternMatcher() |
Gets the pattern matcher.
|
| Modifier and Type | Method | 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 | Description |
|---|---|---|
void |
HttpAsyncRequestHandlerRegistry.setHandlers(java.util.Map<java.lang.String,HttpAsyncRequestHandler<?>> map) |
Deprecated.
Sets handlers from the given map.
|
| Constructor | Description |
|---|---|
UriHttpAsyncRequestHandlerMapper(org.apache.http.protocol.UriPatternMatcher<HttpAsyncRequestHandler<?>> matcher) |