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  HttpRequestwrapping 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. | 
| String | getMethodValue()Return the method value 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()
@Nullable public HttpMethod getMethod()
getMethod in interface HttpRequestnull
 if not resolvable (e.g. in case of a non-standard HTTP method)HttpRequest.getMethodValue(), 
HttpMethod.resolve(String)public String getMethodValue()
getMethodValue in interface HttpRequestHttpRequest.getMethod()public URI getURI()
getURI in interface HttpRequestnull)public HttpHeaders getHeaders()
getHeaders in interface HttpMessagenull)