Package org.apache.shiro.web.util
Class SavedRequest
- java.lang.Object
-
- org.apache.shiro.web.util.SavedRequest
-
- All Implemented Interfaces:
Serializable
public class SavedRequest extends Object implements Serializable
Maintains request data for a request that was redirected, so that after authentication the user can be redirected to the originally requested page.- Since:
- 0.9
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SavedRequest(HttpServletRequest request)
Constructs a new instance from the given HTTP request.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMethod()
String
getQueryString()
String
getRequestURI()
String
getRequestUrl()
-
-
-
Constructor Detail
-
SavedRequest
public SavedRequest(HttpServletRequest request)
Constructs a new instance from the given HTTP request.- Parameters:
request
- the current request to save.
-
-
Method Detail
-
getQueryString
public String getQueryString()
-
getRequestURI
public String getRequestURI()
-
getRequestUrl
public String getRequestUrl()
-
-