WebRequest interface, exposing the
native request and response objects in a generic fashion.
Mainly intended for framework-internal usage, in particular for generic argument resolution code.
| Modifier and Type | Method and Description |
|---|---|
| public Object | |
| public <T> T | Returns: the matching request object, ornull if none
of that type is availablethe desired type of request object requiredType)Return the underlying native request object, if available. |
| public Object | |
| public <T> T | Returns: the matching response object, ornull if none
of that type is availablethe desired type of response object requiredType)Return the underlying native response object, if available. |
| getNativeRequest | back to summary |
|---|---|
| public Object getNativeRequest() Return the underlying native request object. | |
| getNativeRequest | back to summary |
|---|---|
| public <T> T getNativeRequest(Class<T> requiredType) Return the underlying native request object, if available.
| |
| getNativeResponse | back to summary |
|---|---|
| public Object getNativeResponse() Return the underlying native response object, if any.
| |
| getNativeResponse | back to summary |
|---|---|
| public <T> T getNativeResponse(Class<T> requiredType) Return the underlying native response object, if available.
| |