org.apache.http.protocol
Interface HttpRequestHandlerMapper
public interface HttpRequestHandlerMapper
HttpRequestHandlerMapper can be used to resolve an instance of
HttpRequestHandler matching a particular HttpRequest. Usually the
mapped request handler will be used to process the request.
- Since:
- 4.3
|
Method Summary |
org.apache.http.protocol.HttpRequestHandler |
lookup(org.apache.http.HttpRequest request)
Looks up a handler matching the given request. |
lookup
org.apache.http.protocol.HttpRequestHandler lookup(org.apache.http.HttpRequest request)
- Looks up a handler matching the given request.
- Parameters:
request - the request to map to a handler
- Returns:
- HTTP request handler or
null if no match
is found.