package javax.servlet.http; public class Cookie { private String name; private String value; private String path; private int maxAge; private String domain; private int version; private boolean secure; private boolean httpOnly; public Cookie(String name, String value) { } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getValue() { return value; } public void setValue(String value) { this.value = value; } public String getPath() { return path; } public void setPath(String path) { this.path = path; } public int getMaxAge() { return maxAge; } public void setMaxAge(int maxAge) { this.maxAge = maxAge; } public String getDomain() { return domain; } public void setDomain(String domain) { this.domain = domain; } public int getVersion() { return version; } public void setVersion(int version) { this.version = version; } public boolean getSecure() { return secure; } public void setSecure(boolean secure) { this.secure = secure; } public boolean isSecure() { return secure; } public boolean isHttpOnly() { return httpOnly; } public void setHttpOnly(boolean httpOnly) { this.httpOnly = httpOnly; } }