|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NativeWebRequest
Extension of the 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.
Field Summary |
---|
Fields inherited from interface org.springframework.web.context.request.RequestAttributes |
---|
REFERENCE_REQUEST, REFERENCE_SESSION, SCOPE_GLOBAL_SESSION, SCOPE_REQUEST, SCOPE_SESSION |
Method Summary | ||
---|---|---|
Object |
getNativeRequest()
Return the underlying native request object, if available. |
|
|
getNativeRequest(Class<T> requiredType)
Return the underlying native request object, if available. |
|
Object |
getNativeResponse()
Return the underlying native response object, if available. |
|
|
getNativeResponse(Class<T> requiredType)
Return the underlying native request object, if available. |
Methods inherited from interface org.springframework.web.context.request.WebRequest |
---|
checkNotModified, checkNotModified, getContextPath, getDescription, getHeader, getHeaderNames, getHeaderValues, getLocale, getParameter, getParameterMap, getParameterNames, getParameterValues, getRemoteUser, getUserPrincipal, isSecure, isUserInRole |
Methods inherited from interface org.springframework.web.context.request.RequestAttributes |
---|
getAttribute, getAttributeNames, getSessionId, getSessionMutex, registerDestructionCallback, removeAttribute, resolveReference, setAttribute |
Method Detail |
---|
Object getNativeRequest()
HttpServletRequest
,
ActionRequest
,
RenderRequest
Object getNativeResponse()
HttpServletResponse
,
ActionResponse
,
RenderResponse
<T> T getNativeRequest(Class<T> requiredType)
requiredType
- the desired type of request object
null
if none
of that type is availableHttpServletRequest
,
ActionRequest
,
RenderRequest
<T> T getNativeResponse(Class<T> requiredType)
requiredType
- the desired type of response object
null
if none
of that type is availableHttpServletRequest
,
ActionRequest
,
RenderRequest
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |