public class NullRequestCache extends java.lang.Object implements RequestCache
| Constructor and Description |
|---|
NullRequestCache() |
| Modifier and Type | Method and Description |
|---|---|
HttpServletRequest |
getMatchingRequest(HttpServletRequest request,
HttpServletResponse response)
Returns a wrapper around the saved request, if it matches the current request.
|
SavedRequest |
getRequest(HttpServletRequest request,
HttpServletResponse response)
Returns the saved request, leaving it cached.
|
void |
removeRequest(HttpServletRequest request,
HttpServletResponse response)
Removes the cached request.
|
void |
saveRequest(HttpServletRequest request,
HttpServletResponse response)
Caches the current request for later retrieval, once authentication has taken
place.
|
public SavedRequest getRequest(HttpServletRequest request, HttpServletResponse response)
RequestCachegetRequest in interface RequestCacherequest - the current requestpublic void removeRequest(HttpServletRequest request,
HttpServletResponse response)
RequestCacheremoveRequest in interface RequestCacherequest - the current request, allowing access to the cache.public void saveRequest(HttpServletRequest request,
HttpServletResponse response)
RequestCachesaveRequest in interface RequestCacherequest - the request to be storedpublic HttpServletRequest getMatchingRequest(HttpServletRequest request,
HttpServletResponse response)
RequestCachegetMatchingRequest in interface RequestCache