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 | Method and Description |
---|---|
ServerBootstrap |
ServerBootstrap.registerHandler(String pattern,
HttpRequestHandler handler)
Registers the given
HttpRequestHandler as a handler for URIs
matching the given pattern. |
Constructor and Description |
---|
BasicAsyncRequestHandler(HttpRequestHandler handler) |
Modifier and Type | Method and Description |
---|---|
HttpRequestHandler |
UriHttpRequestHandlerMapper.lookup(HttpRequest request)
Looks up a handler matching the given request URI.
|
HttpRequestHandler |
HttpRequestHandlerMapper.lookup(HttpRequest request)
Looks up a handler matching the given request.
|
HttpRequestHandler |
HttpRequestHandlerResolver.lookup(String requestURI)
Deprecated.
Looks up a handler matching the given request URI.
|
HttpRequestHandler |
HttpRequestHandlerRegistry.lookup(String requestURI)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Map<String,HttpRequestHandler> |
HttpRequestHandlerRegistry.getHandlers()
Deprecated.
Get the handler map.
|
Modifier and Type | Method and Description |
---|---|
void |
HttpRequestHandlerRegistry.register(String pattern,
HttpRequestHandler handler)
Deprecated.
Registers the given
HttpRequestHandler as a handler for URIs
matching the given pattern. |
void |
UriHttpRequestHandlerMapper.register(String pattern,
HttpRequestHandler handler)
Registers the given
HttpRequestHandler as a handler for URIs
matching the given pattern. |
Modifier and Type | Method and Description |
---|---|
void |
HttpRequestHandlerRegistry.setHandlers(Map<String,HttpRequestHandler> map)
Deprecated.
Sets handlers from the given map.
|
Constructor and Description |
---|
UriHttpRequestHandlerMapper(UriPatternMatcher<HttpRequestHandler> matcher) |
Copyright © 2005–2017 The Apache Software Foundation. All rights reserved.