Uses of Interface
org.springframework.web.context.request.WebRequest
Package
Description
Support classes for web data binding.
Support for generic request context holding, in particular for
scoping of application objects per HTTP request or HTTP session.
Support for asynchronous request processing.
Support classes for annotation-based handler method processing.
-
Uses of WebRequest in org.springframework.web.bind.support
Modifier and TypeMethodDescriptionvoid
WebRequestDataBinder.bind
(WebRequest request) Bind the parameters of the given request to this binder's target, also binding multipart files in case of a multipart request.void
DefaultSessionAttributeStore.cleanupAttribute
(WebRequest request, String attributeName) void
SessionAttributeStore.cleanupAttribute
(WebRequest request, String attributeName) Clean up the specified attribute in the backend session.protected String
DefaultSessionAttributeStore.getAttributeNameInSession
(WebRequest request, String attributeName) Calculate the attribute name in the backend session.DefaultSessionAttributeStore.retrieveAttribute
(WebRequest request, String attributeName) SessionAttributeStore.retrieveAttribute
(WebRequest request, String attributeName) Retrieve the specified attribute from the backend session.void
DefaultSessionAttributeStore.storeAttribute
(WebRequest request, String attributeName, Object attributeValue) void
SessionAttributeStore.storeAttribute
(WebRequest request, String attributeName, Object attributeValue) Store the supplied attribute in the backend session. -
Uses of WebRequest in org.springframework.web.context.request
Modifier and TypeInterfaceDescriptioninterface
Extension of theWebRequest
interface, exposing the native request and response objects in a generic fashion.Modifier and TypeClassDescriptionclass
WebRequest
adapter for a JSFFacesContext
.class
WebRequest
adapter for anHttpServletRequest
.Modifier and TypeMethodDescriptionvoid
WebRequestInterceptor.afterCompletion
(WebRequest request, Exception ex) Callback after completion of request processing, that is, after rendering the view.void
AsyncWebRequestInterceptor.afterConcurrentHandlingStarted
(WebRequest request) Called instead ofpostHandle
andafterCompletion
, when the handler started handling the request concurrently.void
WebRequestInterceptor.postHandle
(WebRequest request, org.springframework.ui.ModelMap model) Intercept the execution of a request handler after its successful invocation, right before view rendering (if any).void
WebRequestInterceptor.preHandle
(WebRequest request) Intercept the execution of a request handler before its invocation. -
Uses of WebRequest in org.springframework.web.context.request.async
Modifier and TypeInterfaceDescriptioninterface
ExtendsNativeWebRequest
with methods for asynchronous request processing.Modifier and TypeMethodDescriptionstatic WebAsyncManager
WebAsyncUtils.getAsyncManager
(WebRequest webRequest) Obtain theWebAsyncManager
for the current request, or if not found, create and associate it with the request. -
Uses of WebRequest in org.springframework.web.method.annotation
Modifier and TypeMethodDescriptionvoid
SessionAttributesHandler.cleanupAttributes
(WebRequest request) Remove "known" attributes from the session, i.e.SessionAttributesHandler.retrieveAttributes
(WebRequest request) Retrieve "known" attributes from the session, i.e.void
SessionAttributesHandler.storeAttributes
(WebRequest request, Map<String, ?> attributes) Store a subset of the given attributes in the session.