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 SummaryConstructorsConstructorDescriptionSavedCookie(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
- 
SavedCookiepublic SavedCookie(jakarta.servlet.http.Cookie cookie) 
 
- 
- 
Method Details- 
getName
- 
getValue
- 
getCommentDeprecated, for removal: This API element is subject to removal in a future version.
- 
getDomain
- 
getMaxAgepublic int getMaxAge()
- 
getPath
- 
isSecurepublic boolean isSecure()
- 
getVersionDeprecated, for removal: This API element is subject to removal in a future version.
- 
getCookiepublic jakarta.servlet.http.Cookie getCookie()
 
- 
SavedCookie(String, String, String, int, String, boolean)instead