FileDocCategorySizeDatePackage
HttpRequestInterceptor.javaAPI DocAndroid 1.5 API2515Wed May 06 22:41:10 BST 2009org.apache.http

HttpRequestInterceptor

public interface HttpRequestInterceptor
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
version
$Revision: 618367 $
since
4.0

Fields Summary
Constructors Summary
Methods Summary
public voidprocess(org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context)
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.

param
request the request to preprocess
param
context the context for the request
throws
IOException in case of an IO problem
throws
HttpException in case of a protocol or other problem