|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.container.servlet.filters.SavedRequestManager
public final class SavedRequestManager
Allows to save a request and restore it later from the stored request identifier (SRID).
| Nested Class Summary | |
|---|---|
static class |
SavedRequestManager.SavedRequest
Saved request data. |
| Method Summary | |
|---|---|
static String |
getOriginalUrl(javax.servlet.http.HttpServletRequest request)
Retrieves the original URL requested before a detour. |
static String |
getSavedRequestIdentifier()
|
static String |
getSavedRequestKey()
|
static String |
saveRequest(javax.servlet.http.HttpServletRequest request)
Saves the data from a request and stores it in the current session. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static String getSavedRequestIdentifier()
public static String getSavedRequestKey()
public static String saveRequest(javax.servlet.http.HttpServletRequest request)
request - the request to save
public static String getOriginalUrl(javax.servlet.http.HttpServletRequest request)
null only when there's a srid parameter in the current request, indicating that there was
another request which data was saved, related to the current request.
request - the current request
null if there isn't any original
request information
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||