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.
|
CookiePriority |
getPriority()
Cookie Priority.
|
Boolean |
getSameParty()
True if cookie is SameParty.
|
CookieSameSite |
getSameSite()
Cookie SameSite type.
|
Boolean |
getSecure()
True if cookie is secure.
|
Integer |
getSourcePort()
Cookie source port.
|
CookieSourceScheme |
getSourceScheme()
Cookie source scheme type.
|
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 |
setPriority(CookiePriority priority)
Cookie Priority.
|
void |
setSameParty(Boolean sameParty)
True if cookie is SameParty.
|
void |
setSameSite(CookieSameSite sameSite)
Cookie SameSite type.
|
void |
setSecure(Boolean secure)
True if cookie is secure.
|
void |
setSourcePort(Integer sourcePort)
Cookie source port.
|
void |
setSourceScheme(CookieSourceScheme sourceScheme)
Cookie source scheme type.
|
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)
public CookiePriority getPriority()
public void setPriority(CookiePriority priority)
public Boolean getSameParty()
public void setSameParty(Boolean sameParty)
public CookieSourceScheme getSourceScheme()
public void setSourceScheme(CookieSourceScheme sourceScheme)
public Integer getSourcePort()
public void setSourcePort(Integer sourcePort)
Copyright © 2021 Kenan Klisura. All rights reserved.