| java.lang.Object | |
| ↳ | org.springframework.security.web.savedrequest.DefaultSavedRequest |
Represents central information from a HttpServletRequest.
This class is used by AbstractAuthenticationProcessingFilter
and org.springframework.security.web.savedrequest.SavedRequestAwareWrapper to
reproduce the request after successful authentication. An instance of this class is stored at the time of an
authentication exception by ExceptionTranslationFilter.
IMPLEMENTATION NOTE: It is assumed that this object is accessed only from the context of a single thread, so no synchronization around internal collection classes is performed.
This class is based on code in Apache Tomcat.
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| logger | |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Determines if the current request matches the
DefaultSavedRequest. | |||||||||||
Indicates the URL that the user agent used for this request.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.security.web.savedrequest.SavedRequest
| |||||||||||
Determines if the current request matches the DefaultSavedRequest.
All URL arguments are considered but not cookies, locales, headers or parameters.
| request | the actual request to be matched against this one |
|---|---|
| portResolver | used to obtain the server port of the request |
Indicates the URL that the user agent used for this request.