|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.security.web.savedrequest.NullRequestCache
public class NullRequestCache
Null implementation of RequestCache. Typically used when creation of a session is not desired.
Constructor Summary | |
---|---|
NullRequestCache()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NullRequestCache()
Method Detail |
---|
public SavedRequest getRequest(HttpServletRequest request, HttpServletResponse response)
RequestCache
getRequest
in interface RequestCache
public void removeRequest(HttpServletRequest request, HttpServletResponse response)
RequestCache
removeRequest
in interface RequestCache
public void saveRequest(HttpServletRequest request, HttpServletResponse response)
RequestCache
saveRequest
in interface RequestCache
request
- the request to be storedpublic HttpServletRequest getMatchingRequest(HttpServletRequest request, HttpServletResponse response)
RequestCache
getMatchingRequest
in interface RequestCache
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |