java.lang.Object | |
↳ | org.apache.http.protocol.UriPatternMatcher |
Maintains a map of objects keyed by a request URI pattern.
Patterns may have three formats:
*
*<uri>
<uri>*
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Looks up an object matching the given request URI.
| |||||||||||
Registers the given object for URIs matching the given pattern.
| |||||||||||
This method is deprecated.
use
setObjects(Map)
| |||||||||||
Sets objects from the given map.
| |||||||||||
Removes registered object, if exists, for the given pattern.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Tests if the given request URI matches the given pattern.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Looks up an object matching the given request URI.
requestURI | the request URI |
---|
null
if no match is found.
Registers the given object for URIs matching the given pattern.
pattern | the pattern to register the handler for. |
---|---|
obj | the object. |
Sets objects from the given map.
map | the map containing objects keyed by their URI patterns. |
---|
Removes registered object, if exists, for the given pattern.
pattern | the pattern to unregister. |
---|
Tests if the given request URI matches the given pattern.
pattern | the pattern |
---|---|
requestUri | the request URI |
true
if the request URI matches the pattern,
false
otherwise.