Build 1.0_r1(from source)

org.apache.http.protocol
Class UriPatternMatcher

java.lang.Object
  extended by 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:


Constructor Summary
UriPatternMatcher()
           
 
Method Summary
 Object lookup(String requestURI)
           
protected  boolean matchUriRequestPattern(String pattern, String requestUri)
           
 void register(String pattern, Object handler)
           
 void setHandlers(Map map)
           
 void unregister(String pattern)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UriPatternMatcher

public UriPatternMatcher()
Method Detail

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)

Build 1.0_r1(from source)

Please submit a feedback, bug or feature