com.sun.grizzly.http.webxml.schema.version_3_0
Class CookieConfigType

java.lang.Object
  extended by com.sun.grizzly.http.webxml.schema.version_3_0.CookieConfigType

public class CookieConfigType
extends Object

The cookie-configType defines the configuration for the session tracking cookies of this web application. Used in: session-config

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"/>
       </sequence>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  CookieCommentType comment
           
protected  CookieDomainType domain
           
protected  TrueFalseType httpOnly
           
protected  String id
           
protected  CookieNameType name
           
protected  CookiePathType path
           
protected  TrueFalseType secure
           
 
Constructor Summary
CookieConfigType()
           
 
Method Summary
 CookieCommentType getComment()
          Gets the value of the comment property.
 CookieDomainType getDomain()
          Gets the value of the domain property.
 TrueFalseType getHttpOnly()
          Gets the value of the httpOnly property.
 String getId()
          Gets the value of the id property.
 CookieNameType getName()
          Gets the value of the name property.
 CookiePathType getPath()
          Gets the value of the path property.
 TrueFalseType getSecure()
          Gets the value of the secure property.
 void setComment(CookieCommentType value)
          Sets the value of the comment property.
 void setDomain(CookieDomainType value)
          Sets the value of the domain property.
 void setHttpOnly(TrueFalseType value)
          Sets the value of the httpOnly property.
 void setId(String value)
          Sets the value of the id property.
 void setName(CookieNameType value)
          Sets the value of the name property.
 void setPath(CookiePathType value)
          Sets the value of the path property.
 void setSecure(TrueFalseType value)
          Sets the value of the secure property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected CookieNameType name

domain

protected CookieDomainType domain

path

protected CookiePathType path

comment

protected CookieCommentType comment

httpOnly

protected TrueFalseType httpOnly

secure

protected TrueFalseType secure

id

protected String id
Constructor Detail

CookieConfigType

public CookieConfigType()
Method Detail

getName

public CookieNameType getName()
Gets the value of the name property.

Returns:
possible object is CookieNameType

setName

public void setName(CookieNameType value)
Sets the value of the name property.

Parameters:
value - allowed object is CookieNameType

getDomain

public CookieDomainType getDomain()
Gets the value of the domain property.

Returns:
possible object is CookieDomainType

setDomain

public void setDomain(CookieDomainType value)
Sets the value of the domain property.

Parameters:
value - allowed object is CookieDomainType

getPath

public CookiePathType getPath()
Gets the value of the path property.

Returns:
possible object is CookiePathType

setPath

public void setPath(CookiePathType value)
Sets the value of the path property.

Parameters:
value - allowed object is CookiePathType

getComment

public CookieCommentType getComment()
Gets the value of the comment property.

Returns:
possible object is CookieCommentType

setComment

public void setComment(CookieCommentType value)
Sets the value of the comment property.

Parameters:
value - allowed object is CookieCommentType

getHttpOnly

public TrueFalseType getHttpOnly()
Gets the value of the httpOnly property.

Returns:
possible object is TrueFalseType

setHttpOnly

public void setHttpOnly(TrueFalseType value)
Sets the value of the httpOnly property.

Parameters:
value - allowed object is TrueFalseType

getSecure

public TrueFalseType getSecure()
Gets the value of the secure property.

Returns:
possible object is TrueFalseType

setSecure

public void setSecure(TrueFalseType value)
Sets the value of the secure property.

Parameters:
value - allowed object is TrueFalseType

getId

public String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String


Copyright © 2012 Oracle Corporation. All Rights Reserved.