Build 1.0_r1(from source)

org.apache.http.protocol
Class HttpRequestHandlerRegistry

java.lang.Object
  extended by org.apache.http.protocol.HttpRequestHandlerRegistry
All Implemented Interfaces:
HttpRequestHandlerResolver

public class HttpRequestHandlerRegistry
extends Object
implements HttpRequestHandlerResolver

Maintains a map of HTTP request handlers keyed by a request URI pattern. HttpRequestHandler instances can be looked up by request URI using the HttpRequestHandlerResolver interface.
Patterns may have three formats:


Constructor Summary
HttpRequestHandlerRegistry()
           
 
Method Summary
 HttpRequestHandler lookup(String requestURI)
           
protected  boolean matchUriRequestPattern(String pattern, String requestUri)
          Deprecated.  
 void register(String pattern, HttpRequestHandler 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

HttpRequestHandlerRegistry

public HttpRequestHandlerRegistry()
Method Detail

register

public void register(String pattern,
                     HttpRequestHandler handler)

unregister

public void unregister(String pattern)

setHandlers

public void setHandlers(Map map)

lookup

public HttpRequestHandler lookup(String requestURI)
Specified by:
lookup in interface HttpRequestHandlerResolver

matchUriRequestPattern

protected boolean matchUriRequestPattern(String pattern,
                                         String requestUri)
Deprecated. 


Build 1.0_r1(from source)

Please submit a feedback, bug or feature