Package | Description |
---|---|
org.apache.http.impl.bootstrap |
Embedded server and server bootstrap.
|
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(java.lang.String pattern,
HttpRequestHandler handler)
Registers the given
HttpRequestHandler as a handler for URIs
matching the given pattern. |
Modifier and Type | Method and Description |
---|---|
HttpRequestHandler |
HttpRequestHandlerMapper.lookup(HttpRequest request)
Looks up a handler matching the given request.
|
HttpRequestHandler |
UriHttpRequestHandlerMapper.lookup(HttpRequest request)
Looks up a handler matching the given request URI.
|
HttpRequestHandler |
HttpRequestHandlerRegistry.lookup(java.lang.String requestURI)
Deprecated.
|
HttpRequestHandler |
HttpRequestHandlerResolver.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,HttpRequestHandler> |
HttpRequestHandlerRegistry.getHandlers()
Deprecated.
Get the handler map.
|
Modifier and Type | Method and Description |
---|---|
void |
HttpRequestHandlerRegistry.register(java.lang.String pattern,
HttpRequestHandler handler)
Deprecated.
Registers the given
HttpRequestHandler as a handler for URIs
matching the given pattern. |
void |
UriHttpRequestHandlerMapper.register(java.lang.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(java.util.Map<java.lang.String,HttpRequestHandler> map)
Deprecated.
Sets handlers from the given map.
|
Constructor and Description |
---|
UriHttpRequestHandlerMapper(UriPatternMatcher<HttpRequestHandler> matcher) |