Constructor and Description |
---|
CookieImpl(String name) |
CookieImpl(String name,
String value) |
Modifier and Type | Method and Description |
---|---|
String |
getComment() |
String |
getDomain() |
Date |
getExpires() |
Integer |
getMaxAge() |
String |
getName() |
String |
getPath() |
String |
getSameSiteMode() |
String |
getValue() |
int |
getVersion() |
boolean |
isDiscard() |
boolean |
isHttpOnly() |
boolean |
isSameSite() |
boolean |
isSecure() |
Cookie |
setComment(String comment) |
CookieImpl |
setDiscard(boolean discard) |
CookieImpl |
setDomain(String domain) |
CookieImpl |
setExpires(Date expires) |
CookieImpl |
setHttpOnly(boolean httpOnly) |
CookieImpl |
setMaxAge(Integer maxAge) |
CookieImpl |
setPath(String path) |
Cookie |
setSameSite(boolean sameSite) |
Cookie |
setSameSiteMode(String sameSiteMode) |
CookieImpl |
setSecure(boolean secure) |
CookieImpl |
setValue(String value) |
CookieImpl |
setVersion(int version) |
public CookieImpl(String name)
public CookieImpl setValue(String value)
public CookieImpl setPath(String path)
public CookieImpl setDomain(String domain)
public CookieImpl setMaxAge(Integer maxAge)
public CookieImpl setDiscard(boolean discard)
setDiscard
in interface Cookie
public CookieImpl setSecure(boolean secure)
public int getVersion()
getVersion
in interface Cookie
public CookieImpl setVersion(int version)
setVersion
in interface Cookie
public boolean isHttpOnly()
isHttpOnly
in interface Cookie
public CookieImpl setHttpOnly(boolean httpOnly)
setHttpOnly
in interface Cookie
public Date getExpires()
getExpires
in interface Cookie
public CookieImpl setExpires(Date expires)
setExpires
in interface Cookie
public String getComment()
getComment
in interface Cookie
public Cookie setComment(String comment)
setComment
in interface Cookie
public boolean isSameSite()
isSameSite
in interface Cookie
public Cookie setSameSite(boolean sameSite)
setSameSite
in interface Cookie
public String getSameSiteMode()
getSameSiteMode
in interface Cookie
public Cookie setSameSiteMode(String sameSiteMode)
setSameSiteMode
in interface Cookie
Copyright © 2018 JBoss by Red Hat. All rights reserved.