Classes related to the caching of an
HttpServletRequestwhich requires authentication. While the user is logging in, the request is cached (using the RequestCache implementation) by the ExceptionTranslationFilter. Once the user has been authenticated, the original request is restored following a redirect to a matching URL, and the
RequestCacheis queried to obtain the original (matching) request.
Interface Summary Interface Description RequestCacheImplements "saved request" logic, allowing a single request to be retrieved and restarted after redirecting to an authentication mechanism. SavedRequestEncapsulates the functionality required of a cached request for both an authentication mechanism (typically form-based login) to redirect to the original URL and for a RequestCache to build a wrapped request, reproducing the original request data.
Class Summary Class Description CookieRequestCacheAn Implementation of
RequestCachewhich saves the original request URI in a cookie.
DefaultSavedRequestRepresents central information from a
DefaultSavedRequest.Builder Enumerator<T>Adapter that wraps an
Enumerationaround a Java 2 collection
FastHttpDateFormatUtility class to generate HTTP dates. HttpSessionRequestCache
RequestCachewhich stores the
SavedRequestin the HttpSession.
NullRequestCacheNull implementation of RequestCache. RequestCacheAwareFilterResponsible for reconstituting the saved request if one is cached and it matches the current request. SavedCookieStores off the values of a cookie in a serializable holder SimpleSavedRequestA Bean implementation of SavedRequest