Class RequestWrapper

java.lang.Object
org.apache.http.message.AbstractHttpMessage
org.apache.http.impl.client.RequestWrapper
All Implemented Interfaces:
HttpUriRequest, HttpMessage, HttpRequest
Direct Known Subclasses:
EntityEnclosingRequestWrapper

public class RequestWrapper
extends AbstractHttpMessage
implements HttpUriRequest
A wrapper class for HttpRequests that can be used to change properties of the current request without modifying the original object.

This class is also capable of resetting the request headers to the state of the original request.
Since:
4.0
Version:
$Revision: 674186 $
Author:
Oleg Kalnichevski