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 Summary
Nested classes/interfaces inherited from class org.springframework.boot.web.server.Cookie
Cookie.SameSite - 
Constructor Summary
Constructors - 
Method Summary
Modifier 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.Cookie
getDomain, getHttpOnly, getMaxAge, getName, getPath, getSameSite, getSecure, setDomain, setHttpOnly, setMaxAge, setName, setPath, setSameSite, setSecure 
- 
Constructor Details
- 
Cookie
public 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
 
 - 
setComment
Deprecated, for removal: This API element is subject to removal in a future version. 
 -