public interface NativeWebRequest extends WebRequest
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.
REFERENCE_REQUEST, REFERENCE_SESSION, SCOPE_REQUEST, SCOPE_SESSION| Modifier and Type | Method and Description | 
|---|---|
| Object | getNativeRequest()Return the underlying native request object. | 
| <T> T | getNativeRequest(Class<T> requiredType)Return the underlying native request object, if available. | 
| Object | getNativeResponse()Return the underlying native response object, if any. | 
| <T> T | getNativeResponse(Class<T> requiredType)Return the underlying native response object, if available. | 
checkNotModified, checkNotModified, checkNotModified, getContextPath, getDescription, getHeader, getHeaderNames, getHeaderValues, getLocale, getParameter, getParameterMap, getParameterNames, getParameterValues, getRemoteUser, getUserPrincipal, isSecure, isUserInRolegetAttribute, getAttributeNames, getSessionId, getSessionMutex, registerDestructionCallback, removeAttribute, resolveReference, setAttributeObject getNativeRequest()
HttpServletRequest@Nullable Object getNativeResponse()
HttpServletResponse@Nullable <T> T getNativeRequest(@Nullable Class<T> requiredType)
requiredType - the desired type of request objectnull if none
 of that type is availableHttpServletRequest@Nullable <T> T getNativeResponse(@Nullable Class<T> requiredType)
requiredType - the desired type of response objectnull if none
 of that type is availableHttpServletResponse