Class Session.Cookie
java.lang.Object
org.springframework.boot.web.server.Cookie
org.springframework.boot.web.servlet.server.Session.Cookie
- Enclosing class:
- Session
Session cookie properties.
- 
Nested Class SummaryNested classes/interfaces inherited from class org.springframework.boot.web.server.CookieCookie.SameSite
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.since 3.0.0 without replacementvoidsetComment(String comment) Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class org.springframework.boot.web.server.CookiegetDomain, getHttpOnly, getMaxAge, getName, getPath, getSameSite, getSecure, setDomain, setHttpOnly, setMaxAge, setName, setPath, setSameSite, setSecure
- 
Constructor Details- 
Cookiepublic Cookie()
 
- 
- 
Method Details- 
getComment@Deprecated(since="3.0.0", forRemoval=true) @DeprecatedConfigurationProperty public String getComment()Deprecated, for removal: This API element is subject to removal in a future version.since 3.0.0 without replacementReturn the comment for the session cookie.- Returns:
- the session cookie comment
 
- 
setCommentDeprecated, for removal: This API element is subject to removal in a future version.
 
-