public class CookieConfig extends Object
Java class for cookie-configType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="cookie-configType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="name" type="{http://java.sun.com/xml/ns/javaee}cookie-nameType" minOccurs="0"/>
<element name="domain" type="{http://java.sun.com/xml/ns/javaee}cookie-domainType" minOccurs="0"/>
<element name="path" type="{http://java.sun.com/xml/ns/javaee}cookie-pathType" minOccurs="0"/>
<element name="comment" type="{http://java.sun.com/xml/ns/javaee}cookie-commentType" minOccurs="0"/>
<element name="http-only" type="{http://java.sun.com/xml/ns/javaee}true-falseType" minOccurs="0"/>
<element name="secure" type="{http://java.sun.com/xml/ns/javaee}true-falseType" minOccurs="0"/>
<element name="max-age" type="{http://java.sun.com/xml/ns/javaee}xsdIntegerType" minOccurs="0"/>
</sequence>
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
comment |
protected String |
domain |
protected Boolean |
httpOnly |
protected String |
id |
protected Integer |
maxAge |
protected String |
name |
protected String |
path |
protected Boolean |
secure |
| Constructor and Description |
|---|
CookieConfig() |
| Modifier and Type | Method and Description |
|---|---|
String |
getComment() |
String |
getDomain() |
Boolean |
getHttpOnly() |
String |
getId() |
Integer |
getMaxAge() |
String |
getName() |
String |
getPath() |
Boolean |
getSecure() |
void |
setComment(String value) |
void |
setDomain(String value) |
void |
setHttpOnly(Boolean value) |
void |
setId(String value) |
void |
setMaxAge(Integer value) |
void |
setName(String value) |
void |
setPath(String value) |
void |
setSecure(Boolean value) |
protected String name
protected String domain
protected String path
protected String comment
protected Boolean httpOnly
protected Boolean secure
protected Integer maxAge
protected String id
public String getName()
public void setName(String value)
public String getDomain()
public void setDomain(String value)
public String getPath()
public void setPath(String value)
public String getComment()
public void setComment(String value)
public Boolean getHttpOnly()
public void setHttpOnly(Boolean value)
public Boolean getSecure()
public void setSecure(Boolean value)
public Integer getMaxAge()
public void setMaxAge(Integer value)
public String getId()
public void setId(String value)
Copyright © 1999–2016 The Apache Software Foundation. All rights reserved.