Home | History | Annotate | Download | only in client

Lines Matching refs:request

48  * properties of the current request without modifying the original
51 * This class is also capable of resetting the request headers to
52 * the state of the original request.
74 public RequestWrapper(final HttpRequest request) throws ProtocolException {
76 if (request == null) {
77 throw new IllegalArgumentException("HTTP request may not be null");
79 this.original = request;
80 setParams(request.getParams());
82 if (request instanceof HttpUriRequest) {
83 this.uri = ((HttpUriRequest) request).getURI();
84 this.method = ((HttpUriRequest) request).getMethod();
87 RequestLine requestLine = request.getRequestLine();
91 throw new ProtocolException("Invalid request URI: "
95 this.version = request.getProtocolVersion();