Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public class

RequestContent

extends Object
implements HttpRequestInterceptor
java.lang.Object
   ↳ org.apache.http.protocol.RequestContent

Class Overview

A request interceptor that decides about the transport encoding.

Summary

Public Constructors
RequestContent ()
Public Methods
void process ( HttpRequest request, HttpContext context)
Processes a request.
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.apache.http.HttpRequestInterceptor

Public Constructors

public RequestContent ()

Added in API level 1

Public Methods

public void process ( HttpRequest request, HttpContext context)

Added in API level 1

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