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_GLOBAL_SESSION, SCOPE_REQUEST, SCOPE_SESSION
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getNativeRequest()
Return the underlying native request object.
|
<T> T |
getNativeRequest(java.lang.Class<T> requiredType)
Return the underlying native request object, if available.
|
java.lang.Object |
getNativeResponse()
Return the underlying native response object, if any.
|
<T> T |
getNativeResponse(java.lang.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, isUserInRole
getAttribute, getAttributeNames, getSessionId, getSessionMutex, registerDestructionCallback, removeAttribute, resolveReference, setAttribute
java.lang.Object getNativeRequest()
HttpServletRequest
,
ActionRequest
,
RenderRequest
java.lang.Object getNativeResponse()
HttpServletResponse
,
ActionResponse
,
RenderResponse
<T> T getNativeRequest(java.lang.Class<T> requiredType)
requiredType
- the desired type of request objectnull
if none
of that type is availableHttpServletRequest
,
ActionRequest
,
RenderRequest
<T> T getNativeResponse(java.lang.Class<T> requiredType)
requiredType
- the desired type of response objectnull
if none
of that type is availableHttpServletResponse
,
ActionResponse
,
RenderResponse