org.springframework.web.context.request
Interface NativeWebRequest
- All Superinterfaces:
- RequestAttributes, WebRequest
- All Known Implementing Classes:
- DispatcherServletWebRequest, FacesWebRequest, PortletWebRequest, ServletWebRequest
public interface NativeWebRequest
- extends WebRequest
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.
- Since:
- 2.5.2
- Author:
- Juergen Hoeller
Methods inherited from interface org.springframework.web.context.request.WebRequest |
checkNotModified, getContextPath, getDescription, getHeader, getHeaderNames, getHeaderValues, getLocale, getParameter, getParameterMap, getParameterNames, getParameterValues, getRemoteUser, getUserPrincipal, isSecure, isUserInRole |
getNativeRequest
Object getNativeRequest()
- Return the underlying native request object, if available.
- See Also:
HttpServletRequest
,
ActionRequest
,
RenderRequest
getNativeResponse
Object getNativeResponse()
- Return the underlying native response object, if available.
- See Also:
HttpServletResponse
,
ActionResponse
,
RenderResponse