Top Description Methods
org.apache.http.protocol

public Interface HttpRequestHandlerMapper

Known Direct Implementers
org.apache.http.protocol.UriHttpRequestHandlerMapper, org.apache.http.protocol.HttpService.HttpRequestHandlerResolverAdapter
Imports
org.apache.http.HttpRequest

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

Modifier and TypeMethod and Description
public HttpRequestHandler

Returns:

HTTP request handler or null if no match is found.
lookup
(HttpRequest
the request to map to a handler
request
)

Looks up a handler matching the given request.

Method Detail

lookupback to summary
public HttpRequestHandler lookup(HttpRequest request)

Looks up a handler matching the given request.

Parameters
request:HttpRequest

the request to map to a handler

Returns:HttpRequestHandler

HTTP request handler or null if no match is found.