com.sun.enterprise.deployment
Class CookieConfigDescriptor

java.lang.Object
  extended by java.util.Observable
      extended by com.sun.enterprise.deployment.DynamicAttributesDescriptor
          extended by com.sun.enterprise.deployment.Descriptor
              extended by com.sun.enterprise.deployment.CookieConfigDescriptor
All Implemented Interfaces:
CookieConfig, java.io.Serializable

public class CookieConfigDescriptor
extends Descriptor
implements CookieConfig

This represents the cookie-config resided in session-config of web.xml.

Author:
Shing Wai Chan
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.sun.enterprise.deployment.Descriptor
DESCRIPTION_CHANGED, DESCRIPTOR_CHANGED, docType, LARGE_ICON_CHANGED, NAME_CHANGED, SMALL_ICON_CHANGED
 
Constructor Summary
CookieConfigDescriptor()
           
 
Method Summary
 java.lang.String getComment()
           
 java.lang.String getDomain()
           
 int getMaxAge()
           
 java.lang.String getPath()
           
 boolean isHttpOnly()
           
 boolean isSecure()
           
 void print(java.lang.StringBuffer toStringBuffer)
          A String representation of this object.
 void setComment(java.lang.String comment)
           
 void setDomain(java.lang.String domain)
           
 void setHttpOnly(boolean httpOnly)
           
 void setMaxAge(int maxAge)
           
 void setPath(java.lang.String path)
           
 void setSecure(boolean secure)
           
 
Methods inherited from class com.sun.enterprise.deployment.Descriptor
addDeploymentExtension, addPrefixMapping, createUniqueFilenameAmongst, createUniqueNameAmongst, createUniqueNameAmongstNamedDescriptors, fillDocType, getDeploymentExtensions, getDescription, getDisplayName, getDocType, getLargeIconUri, getLocalizedDescription, getLocalizedDescriptions, getLocalizedDisplayName, getLocalizedDisplayNames, getLocalizedLargeIconUri, getLocalizedLargeIconUris, getLocalizedSmallIconUri, getLocalizedSmallIconUris, getName, getPrefixMapping, getSmallIconUri, isBoundsChecking, setBoundsChecking, setDescription, setDisplayName, setLargeIconUri, setLocalizedDescription, setLocalizedDisplayName, setLocalizedLargeIconUri, setLocalizedSmallIconUri, setName, setSmallIconUri, visit
 
Methods inherited from class com.sun.enterprise.deployment.DynamicAttributesDescriptor
addExtraAttribute, getExtraAttribute, getExtraAttributes, removeExtraAttribute, toString
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.sun.enterprise.deployment.web.CookieConfig
getName, setName
 

Constructor Detail

CookieConfigDescriptor

public CookieConfigDescriptor()
Method Detail

getDomain

public java.lang.String getDomain()
Specified by:
getDomain in interface CookieConfig

setDomain

public void setDomain(java.lang.String domain)
Specified by:
setDomain in interface CookieConfig

getPath

public java.lang.String getPath()
Specified by:
getPath in interface CookieConfig

setPath

public void setPath(java.lang.String path)
Specified by:
setPath in interface CookieConfig

getComment

public java.lang.String getComment()
Specified by:
getComment in interface CookieConfig

setComment

public void setComment(java.lang.String comment)
Specified by:
setComment in interface CookieConfig

isHttpOnly

public boolean isHttpOnly()
Specified by:
isHttpOnly in interface CookieConfig

setHttpOnly

public void setHttpOnly(boolean httpOnly)
Specified by:
setHttpOnly in interface CookieConfig

isSecure

public boolean isSecure()
Specified by:
isSecure in interface CookieConfig

setSecure

public void setSecure(boolean secure)
Specified by:
setSecure in interface CookieConfig

getMaxAge

public int getMaxAge()
Specified by:
getMaxAge in interface CookieConfig

setMaxAge

public void setMaxAge(int maxAge)
Specified by:
setMaxAge in interface CookieConfig

print

public void print(java.lang.StringBuffer toStringBuffer)
Description copied from class: Descriptor
A String representation of this object.

Overrides:
print in class Descriptor


Copyright © 2012 GlassFish Community. All Rights Reserved.