com.sun.enterprise.deployment
Class CookieConfigDescriptor
java.lang.Object
java.util.Observable
com.sun.enterprise.deployment.DynamicAttributesDescriptor
com.sun.enterprise.deployment.Descriptor
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
| 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 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 |
CookieConfigDescriptor
public CookieConfigDescriptor()
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.