org.apache.http.protocol
Class UriPatternMatcher
java.lang.Object
org.apache.http.protocol.UriPatternMatcher
public class UriPatternMatcher
- extends Object
Maintains a map of objects keyed by a request URI pattern.
Instances can be looked up by request URI.
Patterns may have three formats:
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UriPatternMatcher
public UriPatternMatcher()
register
public void register(String pattern,
Object handler)
unregister
public void unregister(String pattern)
setHandlers
public void setHandlers(Map map)
lookup
public Object lookup(String requestURI)
matchUriRequestPattern
protected boolean matchUriRequestPattern(String pattern,
String requestUri)
Please submit a feedback, bug or feature