|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RequestCache
Implements "saved request" logic, allowing a single request to be retrieved and restarted after redirecting to an authentication mechanism.
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. |
Method Detail |
---|
void saveRequest(HttpServletRequest request, HttpServletResponse response)
request
- the request to be storedSavedRequest getRequest(HttpServletRequest request, HttpServletResponse response)
currentRequest
- the current
HttpServletRequest getMatchingRequest(HttpServletRequest request, HttpServletResponse response)
request
- response
-
void removeRequest(HttpServletRequest request, HttpServletResponse response)
currentRequest
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |