public class HttpRequestWrapper extends Object implements HttpRequest
HttpRequest interface
 that can be overridden to adapt the request.
 These methods default to calling through to the wrapped request object.
| Constructor and Description | 
|---|
HttpRequestWrapper(HttpRequest request)
Create a new  
HttpRequest wrapping the given request object. | 
| Modifier and Type | Method and Description | 
|---|---|
HttpHeaders | 
getHeaders()
Return the headers of the wrapped request. 
 | 
HttpMethod | 
getMethod()
Return the method of the wrapped request. 
 | 
HttpRequest | 
getRequest()
Return the wrapped request. 
 | 
URI | 
getURI()
Return the URI of the wrapped request. 
 | 
public HttpRequestWrapper(HttpRequest request)
HttpRequest wrapping the given request object.request - the request object to be wrappedpublic HttpRequest getRequest()
public HttpMethod getMethod()
getMethod in interface HttpRequestnull
 if not resolvable (e.g. in case of a non-standard HTTP method)public URI getURI()
getURI in interface HttpRequestnull)public HttpHeaders getHeaders()
getHeaders in interface HttpMessagenull)