Package | Description |
---|---|
org.springframework.web.bind.support |
Support classes for web data binding.
|
org.springframework.web.context.request |
Support for generic request context holding, in particular for
scoping of application objects per HTTP request or HTTP session.
|
org.springframework.web.context.request.async |
Support for asynchronous request processing.
|
org.springframework.web.method.annotation |
Support classes for annotation-based handler method processing.
|
Modifier and Type | Method and Description |
---|---|
void |
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,
java.lang.String attributeName) |
void |
SessionAttributeStore.cleanupAttribute(WebRequest request,
java.lang.String attributeName)
Clean up the specified attribute in the backend session.
|
protected java.lang.String |
DefaultSessionAttributeStore.getAttributeNameInSession(WebRequest request,
java.lang.String attributeName)
Calculate the attribute name in the backend session.
|
default void |
WebBindingInitializer.initBinder(WebDataBinder binder,
WebRequest request)
Deprecated.
as of 5.0 in favor of
WebBindingInitializer.initBinder(WebDataBinder) |
java.lang.Object |
DefaultSessionAttributeStore.retrieveAttribute(WebRequest request,
java.lang.String attributeName) |
java.lang.Object |
SessionAttributeStore.retrieveAttribute(WebRequest request,
java.lang.String attributeName)
Retrieve the specified attribute from the backend session.
|
void |
DefaultSessionAttributeStore.storeAttribute(WebRequest request,
java.lang.String attributeName,
java.lang.Object attributeValue) |
void |
SessionAttributeStore.storeAttribute(WebRequest request,
java.lang.String attributeName,
java.lang.Object attributeValue)
Store the supplied attribute in the backend session.
|
Modifier and Type | Interface and Description |
---|---|
interface |
NativeWebRequest
Extension of the
WebRequest interface, exposing the
native request and response objects in a generic fashion. |
Modifier and Type | Class and Description |
---|---|
class |
FacesWebRequest
WebRequest adapter for a JSF FacesContext . |
class |
ServletWebRequest
WebRequest adapter for an HttpServletRequest . |
Modifier and Type | Method and Description |
---|---|
void |
WebRequestInterceptor.afterCompletion(WebRequest request,
java.lang.Exception ex)
Callback after completion of request processing, that is, after rendering
the view.
|
void |
AsyncWebRequestInterceptor.afterConcurrentHandlingStarted(WebRequest request)
Called instead of
postHandle and afterCompletion , 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.
|
Modifier and Type | Interface and Description |
---|---|
interface |
AsyncWebRequest
Extends
NativeWebRequest with methods for asynchronous request processing. |
Modifier and Type | Class and Description |
---|---|
class |
StandardServletAsyncWebRequest
A Servlet 3.0 implementation of
AsyncWebRequest . |
Modifier and Type | Method and Description |
---|---|
static WebAsyncManager |
WebAsyncUtils.getAsyncManager(WebRequest webRequest)
Obtain the
WebAsyncManager for the current request, or if not
found, create and associate it with the request. |
Modifier and Type | Method and Description |
---|---|
void |
SessionAttributesHandler.cleanupAttributes(WebRequest request)
Remove "known" attributes from the session, i.e.
|
java.util.Map<java.lang.String,java.lang.Object> |
SessionAttributesHandler.retrieveAttributes(WebRequest request)
Retrieve "known" attributes from the session, i.e.
|
void |
SessionAttributesHandler.storeAttributes(WebRequest request,
java.util.Map<java.lang.String,?> attributes)
Store a subset of the given attributes in the session.
|