Android
org.apache.http
public interface

org.apache.http.HttpRequestInterceptor

org.apache.http.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.

Known Indirect Subclasses

Summary

Public Methods

          void  process(HttpRequest request, HttpContext context)
Processes a request.

Details

Public Methods

public 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. On the server side, this step is performed on incoming messages before the message body is evaluated.

Parameters

request the request to preprocess
context the context for the request

Throws

IOException in case of an IO problem
HttpException in case of a protocol or other problem
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:48