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 |
setName(String name) |
void |
setPath(String path) |
void |
setSecure(boolean secure) |
void |
setValue(String value) |
public String getName()
public void setName(String name)
public String getValue()
public void setValue(String value)
public String getComment()
public void setComment(String comment)
public String getDomain()
public void setDomain(String domain)
public int getMaxAge()
public void setMaxAge(int maxAge)
public String getPath()
public void setPath(String path)
public boolean isSecure()
public void setSecure(boolean secure)
public boolean isHttpOnly()
public void setHttpOnly(boolean httpOnly)
Copyright © 2016. All rights reserved.