public class CookieParam extends Object
| Constructor and Description |
|---|
CookieParam() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDomain()
Cookie domain.
|
Double |
getExpires()
Cookie expiration date, session cookie if not set
|
Boolean |
getHttpOnly()
True if cookie is http-only.
|
String |
getName()
Cookie name.
|
String |
getPath()
Cookie path.
|
CookieSameSite |
getSameSite()
Cookie SameSite type.
|
Boolean |
getSecure()
True if cookie is secure.
|
String |
getUrl()
The request-URI to associate with the setting of the cookie.
|
String |
getValue()
Cookie value.
|
void |
setDomain(String domain)
Cookie domain.
|
void |
setExpires(Double expires)
Cookie expiration date, session cookie if not set
|
void |
setHttpOnly(Boolean httpOnly)
True if cookie is http-only.
|
void |
setName(String name)
Cookie name.
|
void |
setPath(String path)
Cookie path.
|
void |
setSameSite(CookieSameSite sameSite)
Cookie SameSite type.
|
void |
setSecure(Boolean secure)
True if cookie is secure.
|
void |
setUrl(String url)
The request-URI to associate with the setting of the cookie.
|
void |
setValue(String value)
Cookie value.
|
public String getName()
public void setName(String name)
public String getValue()
public void setValue(String value)
public String getUrl()
public void setUrl(String url)
public String getDomain()
public void setDomain(String domain)
public String getPath()
public void setPath(String path)
public Boolean getSecure()
public void setSecure(Boolean secure)
public Boolean getHttpOnly()
public void setHttpOnly(Boolean httpOnly)
public CookieSameSite getSameSite()
public void setSameSite(CookieSameSite sameSite)
public Double getExpires()
public void setExpires(Double expires)
Copyright © 2020. All rights reserved.