| org.apache.http.HttpRequestInterceptor
All known Subclasses: org.apache.http.protocol.RequestExpectContinue, org.apache.http.protocol.RequestConnControl, org.apache.http.protocol.RequestUserAgent, org.apache.http.protocol.RequestTargetHost, org.apache.http.protocol.RequestContent, org.apache.http.protocol.RequestDate,
HttpRequestInterceptor | public interface HttpRequestInterceptor (Code) | | Processes a request.
Provides the ability to process a request before it is sent
to the server or after it has received on the server side.
author: Oleg Kalnichevski author: version: $Revision: 496070 $ since: 4.0 |
Method Summary | |
void | process(HttpRequest request, HttpContext context) Processes a request.
On the client side, this step is performed before the request is
sent to the server. |
process | void process(HttpRequest request, HttpContext context) throws HttpException, IOException(Code) | | Processes a request.
On the client side, this step is performed before the request is
sent to the server. On the server side, this step is performed
on incoming messages before the message body is evaluated.
Parameters: request - the request to preprocess Parameters: context - the context for the request throws: IOException - in case of an IO problem throws: HttpException - in case of a protocol or other problem |
|
|