public final class SavedRequestManager extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SavedRequestManager.SavedRequest
Saved request data.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public static String getSavedRequestIdentifier()
public static String getSavedRequestKey()
public static String saveRequest(javax.servlet.http.HttpServletRequest request)
request - the request to savepublic 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 requestnull if there isn't any original
request informationCopyright © 2004–2016 XWiki. All rights reserved.