java.lang.Object | |
↳ | org.springframework.web.context.request.AbstractRequestAttributes |
Known Direct Subclasses |
Known Indirect Subclasses |
Abstract support class for RequestAttributes implementations, offering a request completion mechanism for request-specific destruction callbacks and for updating accessed session attributes.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
org.springframework.web.context.request.RequestAttributes
|
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
requestDestructionCallbacks | Map from attribute name String to destruction callback Runnable |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Signal that the request has been completed.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Determine whether the original request is still active.
| |||||||||||
Register the given callback as to be executed after request completion.
| |||||||||||
Remove the request destruction callback for the specified attribute, if any.
| |||||||||||
Update all session attributes that have been accessed during request processing,
to expose their potentially updated state to the underlying session manager.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.web.context.request.RequestAttributes
|
Map from attribute name String to destruction callback Runnable
Signal that the request has been completed.
Executes all request destruction callbacks and updates the session attributes that have been accessed during request processing.
Determine whether the original request is still active.
Register the given callback as to be executed after request completion.
name | the name of the attribute to register the callback for |
---|---|
callback | the callback to be executed for destruction |
Remove the request destruction callback for the specified attribute, if any.
name | the name of the attribute to remove the callback for |
---|
Update all session attributes that have been accessed during request processing, to expose their potentially updated state to the underlying session manager.