public final class Cookie extends Object
| Modifier and Type | Method and Description |
|---|---|
String |
getComment() |
String |
getDomain() |
int |
getMaxAge() |
String |
getName() |
String |
getPath() |
String |
getValue() |
boolean |
isHttpOnly() |
boolean |
isSecure() |
void |
setComment(String comment) |
void |
setDomain(String domain) |
void |
setHttpOnly(boolean httpOnly) |
void |
setMaxAge(int maxAge) |
void |
setPath(String path) |
void |
setSecure(boolean secure) |
void |
setValue(String value) |
public Cookie(String name)
public String getName()
public String getValue()
public void setValue(String value)
public String getDomain()
public void setDomain(String domain)
public String getPath()
public void setPath(String path)
public String getComment()
public void setComment(String comment)
public boolean isSecure()
public void setSecure(boolean secure)
public boolean isHttpOnly()
public void setHttpOnly(boolean httpOnly)
public int getMaxAge()
public void setMaxAge(int maxAge)