Class SimpleSavedRequest
java.lang.Object
org.springframework.security.web.savedrequest.SimpleSavedRequest
- All Implemented Interfaces:
Serializable
,SavedRequest
A Bean implementation of SavedRequest
- Since:
- 5.1
- See Also:
-
Constructor Summary
ConstructorDescriptionSimpleSavedRequest
(String redirectUrl) SimpleSavedRequest
(SavedRequest request) -
Method Summary
Modifier and TypeMethodDescriptionList<jakarta.servlet.http.Cookie>
getHeaderValues
(String name) String[]
getParameterValues
(String name) void
setCookies
(List<jakarta.servlet.http.Cookie> cookies) void
setHeaders
(Map<String, List<String>> headers) void
setLocales
(List<Locale> locales) void
void
setParameters
(Map<String, String[]> parameters) void
setRedirectUrl
(String redirectUrl)
-
Constructor Details
-
SimpleSavedRequest
public SimpleSavedRequest() -
SimpleSavedRequest
-
SimpleSavedRequest
-
-
Method Details
-
getRedirectUrl
- Specified by:
getRedirectUrl
in interfaceSavedRequest
- Returns:
- the URL for the saved request, allowing a redirect to be performed.
-
getCookies
- Specified by:
getCookies
in interfaceSavedRequest
-
getMethod
- Specified by:
getMethod
in interfaceSavedRequest
-
getHeaderValues
- Specified by:
getHeaderValues
in interfaceSavedRequest
-
getHeaderNames
- Specified by:
getHeaderNames
in interfaceSavedRequest
-
getLocales
- Specified by:
getLocales
in interfaceSavedRequest
-
getParameterValues
- Specified by:
getParameterValues
in interfaceSavedRequest
-
getParameterMap
- Specified by:
getParameterMap
in interfaceSavedRequest
-
setRedirectUrl
-
setCookies
-
setMethod
-
setHeaders
-
setLocales
-
setParameters
-