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 and Description |
---|---|
ServerBootstrap |
ServerBootstrap.registerHandler(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 . |
Modifier and Type | Method and Description |
---|---|
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<?> |
HttpAsyncRequestHandlerRegistry.lookup(String requestURI)
Deprecated.
|
HttpAsyncRequestHandler<?> |
HttpAsyncRequestHandlerResolver.lookup(String requestURI)
Deprecated.
Looks up a handler matching the given request URI.
|
Modifier and Type | Method and Description |
---|---|
Map<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(String pattern,
HttpAsyncRequestHandler<?> handler)
Deprecated.
Registers the given
HttpAsyncRequestHandler as a handler for URIs
matching the given pattern. |
void |
UriHttpAsyncRequestHandlerMapper.register(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(Map<String,HttpAsyncRequestHandler<?>> map)
Deprecated.
Sets handlers from the given map.
|
Constructor and Description |
---|
UriHttpAsyncRequestHandlerMapper(UriPatternMatcher<HttpAsyncRequestHandler<?>> matcher) |
Copyright © 2005–2022 The Apache Software Foundation. All rights reserved.