Constructor and Description |
---|
ServletCookieAdaptor(javax.servlet.http.Cookie cookie) |
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) |
Cookie | setDiscard(boolean discard) |
Cookie | setDomain(String domain) |
Cookie | setExpires(Date expires) |
Cookie | setHttpOnly(boolean httpOnly) |
Cookie | setMaxAge(Integer maxAge) |
Cookie | setPath(String path) |
Cookie | setSameSite(boolean sameSite) |
Cookie | setSameSiteMode(String mode) |
Cookie | setSecure(boolean secure) |
Cookie | setValue(String value) |
Cookie | setVersion(int version) |
public ServletCookieAdaptor(javax.servlet.http.Cookie cookie)
public Cookie setDiscard(boolean discard)
setDiscard
in interface Cookie
public int getVersion()
getVersion
in interface Cookie
public Cookie setVersion(int version)
setVersion
in interface Cookie
public boolean isHttpOnly()
isHttpOnly
in interface Cookie
public Cookie setHttpOnly(boolean httpOnly)
setHttpOnly
in interface Cookie
public Date getExpires()
getExpires
in interface Cookie
public Cookie 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 mode)
setSameSiteMode
in interface Cookie
Copyright © 2020 JBoss by Red Hat. All rights reserved.