org.apache.http.nio.protocol
Interface NHttpRequestHandlerResolver

All Known Implementing Classes:
NHttpRequestHandlerRegistry

public interface NHttpRequestHandlerResolver

HttpRequestHandlerResolver can be used to resolve an instance of NHttpRequestHandler matching a particular request URI. Usually the resolved request handler will be used to process the request with the specified request URI.

Since:
4.0

Method Summary
 NHttpRequestHandler lookup(java.lang.String requestURI)
          Looks up a handler matching the given request URI.
 

Method Detail

lookup

NHttpRequestHandler lookup(java.lang.String requestURI)
Looks up a handler matching the given request URI.

Parameters:
requestURI - the request URI
Returns:
HTTP request handler or null if no match is found.


Copyright © 2005-2011 The Apache Software Foundation. All Rights Reserved.