Class SavedCookie
java.lang.Object
org.springframework.security.web.savedrequest.SavedCookie
- All Implemented Interfaces:
Serializable
Stores off the values of a cookie in a serializable holder
- See Also:
-
Constructor Summary
ConstructorDescriptionSavedCookie
(jakarta.servlet.http.Cookie cookie) SavedCookie
(String name, String value, String domain, int maxAge, String path, boolean secure) SavedCookie
(String name, String value, String comment, String domain, int maxAge, String path, boolean secure, int version) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
-
Constructor Details
-
SavedCookie
@Deprecated(forRemoval=true, since="6.1") public SavedCookie(String name, String value, String comment, String domain, int maxAge, String path, boolean secure, int version) Deprecated, for removal: This API element is subject to removal in a future version. -
SavedCookie
-
SavedCookie
public SavedCookie(jakarta.servlet.http.Cookie cookie)
-
-
Method Details
-
getName
-
getValue
-
getComment
Deprecated, for removal: This API element is subject to removal in a future version. -
getDomain
-
getMaxAge
public int getMaxAge() -
getPath
-
isSecure
public boolean isSecure() -
getVersion
Deprecated, for removal: This API element is subject to removal in a future version. -
getCookie
public jakarta.servlet.http.Cookie getCookie()
-
SavedCookie(String, String, String, int, String, boolean)
instead