Package | Description |
---|---|
org.apache.http.impl.bootstrap |
Embedded server and server bootstrap.
|
org.apache.http.nio.protocol |
Core HTTP protocol execution framework and HTTP protocol handlers
for asynchronous, event driven communication.
|
org.apache.http.protocol |
Core HTTP protocol execution framework and HTTP protocol handlers
for synchronous, blocking communication.
|
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.String,HttpRequestHandler> |
ServerBootstrap.handlerMap |
Modifier and Type | Method and Description |
---|---|
ServerBootstrap |
ServerBootstrap.registerHandler(java.lang.String pattern,
HttpRequestHandler handler)
Registers the given
HttpRequestHandler as a handler for URIs
matching the given pattern. |
Modifier and Type | Field and Description |
---|---|
private HttpRequestHandler |
BasicAsyncRequestHandler.handler |
private HttpRequestHandler |
BufferingHttpServiceHandler.RequestHandlerAdaptor.requestHandler |
Constructor and Description |
---|
BasicAsyncRequestHandler(HttpRequestHandler handler) |
RequestHandlerAdaptor(HttpRequestHandler requestHandler) |
Modifier and Type | Field and Description |
---|---|
private UriPatternMatcher<HttpRequestHandler> |
UriHttpRequestHandlerMapper.matcher |
private UriPatternMatcher<HttpRequestHandler> |
HttpRequestHandlerRegistry.matcher
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
HttpRequestHandler |
UriHttpRequestHandlerMapper.lookup(HttpRequest request)
Looks up a handler matching the given request URI.
|
HttpRequestHandler |
HttpService.HttpRequestHandlerResolverAdapter.lookup(HttpRequest request)
Deprecated.
|
HttpRequestHandler |
HttpRequestHandlerMapper.lookup(HttpRequest request)
Looks up a handler matching the given request.
|
HttpRequestHandler |
HttpRequestHandlerResolver.lookup(java.lang.String requestURI)
Deprecated.
Looks up a handler matching the given request URI.
|
HttpRequestHandler |
HttpRequestHandlerRegistry.lookup(java.lang.String requestURI)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,HttpRequestHandler> |
HttpRequestHandlerRegistry.getHandlers()
Deprecated.
Get the handler map.
|
Modifier and Type | Method and Description |
---|---|
void |
UriHttpRequestHandlerMapper.register(java.lang.String pattern,
HttpRequestHandler handler)
Registers the given
HttpRequestHandler as a handler for URIs
matching the given pattern. |
void |
HttpRequestHandlerRegistry.register(java.lang.String pattern,
HttpRequestHandler handler)
Deprecated.
Registers the given
HttpRequestHandler as a handler for URIs
matching the given pattern. |
Modifier and Type | Method and Description |
---|---|
void |
HttpRequestHandlerRegistry.setHandlers(java.util.Map<java.lang.String,HttpRequestHandler> map)
Deprecated.
Sets handlers from the given map.
|
Constructor and Description |
---|
UriHttpRequestHandlerMapper(UriPatternMatcher<HttpRequestHandler> matcher) |