|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.http.client.support.HttpRequestWrapper
public class HttpRequestWrapper
Provides a convenient implementation of the HttpRequest interface that can be overridden to adapt the
request. Methods default to calling through to the wrapped request object.
| Constructor Summary | |
|---|---|
HttpRequestWrapper(HttpRequest request)
Creates a new HttpRequest wrapping the given request object. |
|
| Method Summary | |
|---|---|
HttpHeaders |
getHeaders()
Returns the headers of the wrapped request. |
HttpMethod |
getMethod()
Returns the method of the wrapped request. |
HttpRequest |
getRequest()
Returns the wrapped request. |
URI |
getURI()
Returns the URI of the wrapped request. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HttpRequestWrapper(HttpRequest request)
HttpRequest wrapping the given request object.
request - the request object to be wrapped| Method Detail |
|---|
public HttpRequest getRequest()
public HttpMethod getMethod()
getMethod in interface HttpRequestpublic URI getURI()
getURI in interface HttpRequestpublic HttpHeaders getHeaders()
getHeaders in interface HttpMessage
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||