HttpRequest interface
that can be overridden to adapt the request.
These methods default to calling through to the wrapped request object.
| Modifier and Type | Field and Description |
|---|---|
| private final HttpRequest |
| Access | Constructor and Description |
|---|---|
| public | HttpRequestWrapper(HttpRequest
the request object to be wrapped request)Create a new |
| Modifier and Type | Method and Description |
|---|---|
| public HttpHeaders | getHeaders()
Implements org. |
| public HttpMethod | getMethod()
Implements org. |
| public HttpRequest | |
| public URI | getURI()
Implements org. |
| request | back to summary |
|---|---|
| private final HttpRequest request | |
| HttpRequestWrapper | back to summary |
|---|---|
| public HttpRequestWrapper(HttpRequest request) Create a new
| |
| getHeaders | back to summary |
|---|---|
| public HttpHeaders getHeaders() Implements org. Return the headers of the wrapped request.
| |
| getMethod | back to summary |
|---|---|
| public HttpMethod getMethod() Implements org. Return the method of the wrapped request.
| |
| getRequest | back to summary |
|---|---|
| public HttpRequest getRequest() Return the wrapped request. | |
| getURI | back to summary |
|---|---|
| public URI getURI() Implements org. Return the URI of the wrapped request.
| |