java.lang.Object | |
↳ | org.apache.http.protocol.HttpRequestHandlerRegistry |
Maintains a map of HTTP request handlers keyed by a request URI pattern.
Patterns may have three formats:
*
*<uri>
<uri>*
HttpRequestHandler
matching a particular request URI. Usually the
resolved request handler will be used to process the request with the
specified request URI.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Looks up a handler matching the given request URI.
| |||||||||||
Registers the given
HttpRequestHandler as a handler for URIs
matching the given pattern. | |||||||||||
Sets handlers from the given map.
| |||||||||||
Removes registered handler, if exists, for the given pattern.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This method is deprecated.
No replacement.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.apache.http.protocol.HttpRequestHandlerResolver
|
Looks up a handler matching the given request URI.
requestURI | the request URI |
---|
null
if no match
is found.
Registers the given HttpRequestHandler
as a handler for URIs
matching the given pattern.
pattern | the pattern to register the handler for. |
---|---|
handler | the handler. |
Sets handlers from the given map.
map | the map containing handlers keyed by their URI patterns. |
---|
Removes registered handler, if exists, for the given pattern.
pattern | the pattern to unregister the handler for. |
---|
This method is deprecated.
No replacement.