|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.shrinkwrap.descriptor.impl.webcommon30.CookieConfigTypeImpl<T>
public class CookieConfigTypeImpl<T>
This class implements the cookie-configType
xsd type
Original Documentation:
The cookie-configType defines the configuration for the
session tracking cookies of this web application.
Used in: session-config
Constructor Summary | |
---|---|
CookieConfigTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
|
|
CookieConfigTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node,
org.jboss.shrinkwrap.descriptor.spi.Node childNode)
|
Method Summary | |
---|---|
java.lang.String |
getComment()
Returns the comment element |
java.lang.String |
getDomain()
Returns the domain element |
java.lang.Integer |
getMaxAge()
Returns the max-age element |
java.lang.String |
getName()
Returns the name element |
java.lang.String |
getPath()
Returns the path element |
java.lang.Boolean |
isHttpOnly()
Returns the http-only element |
java.lang.Boolean |
isSecure()
Returns the secure element |
CookieConfigType<T> |
removeComment()
Removes the comment element |
CookieConfigType<T> |
removeDomain()
Removes the domain element |
CookieConfigType<T> |
removeHttpOnly()
Removes the http-only element |
CookieConfigType<T> |
removeMaxAge()
Removes the max-age element |
CookieConfigType<T> |
removeName()
Removes the name element |
CookieConfigType<T> |
removePath()
Removes the path element |
CookieConfigType<T> |
removeSecure()
Removes the secure element |
CookieConfigType<T> |
setComment(java.lang.String comment)
If not already created, a new comment element with the given value will be created. |
CookieConfigType<T> |
setDomain(java.lang.String domain)
If not already created, a new domain element with the given value will be created. |
CookieConfigType<T> |
setHttpOnly(java.lang.Boolean httpOnly)
If not already created, a new http-only element with the given value will be created. |
CookieConfigType<T> |
setMaxAge(java.lang.Integer maxAge)
If not already created, a new max-age element with the given value will be created. |
CookieConfigType<T> |
setName(java.lang.String name)
If not already created, a new name element with the given value will be created. |
CookieConfigType<T> |
setPath(java.lang.String path)
If not already created, a new path element with the given value will be created. |
CookieConfigType<T> |
setSecure(java.lang.Boolean secure)
If not already created, a new secure element with the given value will be created. |
T |
up()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CookieConfigTypeImpl(T t, java.lang.String nodeName, org.jboss.shrinkwrap.descriptor.spi.Node node)
public CookieConfigTypeImpl(T t, java.lang.String nodeName, org.jboss.shrinkwrap.descriptor.spi.Node node, org.jboss.shrinkwrap.descriptor.spi.Node childNode)
Method Detail |
---|
public T up()
up
in interface org.jboss.shrinkwrap.descriptor.api.Child<T>
public CookieConfigType<T> setName(java.lang.String name)
name
element with the given value will be created.
Otherwise, the existing name
element will be updated with the given value.
setName
in interface CookieConfigType<T>
CookieConfigType
public CookieConfigType<T> removeName()
name
element
removeName
in interface CookieConfigType<T>
CookieConfigType
public java.lang.String getName()
name
element
getName
in interface CookieConfigType<T>
name
public CookieConfigType<T> setDomain(java.lang.String domain)
domain
element with the given value will be created.
Otherwise, the existing domain
element will be updated with the given value.
setDomain
in interface CookieConfigType<T>
CookieConfigType
public CookieConfigType<T> removeDomain()
domain
element
removeDomain
in interface CookieConfigType<T>
CookieConfigType
public java.lang.String getDomain()
domain
element
getDomain
in interface CookieConfigType<T>
domain
public CookieConfigType<T> setPath(java.lang.String path)
path
element with the given value will be created.
Otherwise, the existing path
element will be updated with the given value.
setPath
in interface CookieConfigType<T>
CookieConfigType
public CookieConfigType<T> removePath()
path
element
removePath
in interface CookieConfigType<T>
CookieConfigType
public java.lang.String getPath()
path
element
getPath
in interface CookieConfigType<T>
path
public CookieConfigType<T> setComment(java.lang.String comment)
comment
element with the given value will be created.
Otherwise, the existing comment
element will be updated with the given value.
setComment
in interface CookieConfigType<T>
CookieConfigType
public CookieConfigType<T> removeComment()
comment
element
removeComment
in interface CookieConfigType<T>
CookieConfigType
public java.lang.String getComment()
comment
element
getComment
in interface CookieConfigType<T>
comment
public CookieConfigType<T> setHttpOnly(java.lang.Boolean httpOnly)
http-only
element with the given value will be created.
Otherwise, the existing http-only
element will be updated with the given value.
setHttpOnly
in interface CookieConfigType<T>
CookieConfigType
public CookieConfigType<T> removeHttpOnly()
http-only
element
removeHttpOnly
in interface CookieConfigType<T>
CookieConfigType
public java.lang.Boolean isHttpOnly()
http-only
element
isHttpOnly
in interface CookieConfigType<T>
http-only
public CookieConfigType<T> setSecure(java.lang.Boolean secure)
secure
element with the given value will be created.
Otherwise, the existing secure
element will be updated with the given value.
setSecure
in interface CookieConfigType<T>
CookieConfigType
public CookieConfigType<T> removeSecure()
secure
element
removeSecure
in interface CookieConfigType<T>
CookieConfigType
public java.lang.Boolean isSecure()
secure
element
isSecure
in interface CookieConfigType<T>
secure
public CookieConfigType<T> setMaxAge(java.lang.Integer maxAge)
max-age
element with the given value will be created.
Otherwise, the existing max-age
element will be updated with the given value.
setMaxAge
in interface CookieConfigType<T>
CookieConfigType
public CookieConfigType<T> removeMaxAge()
max-age
element
removeMaxAge
in interface CookieConfigType<T>
CookieConfigType
public java.lang.Integer getMaxAge()
max-age
element
getMaxAge
in interface CookieConfigType<T>
max-age
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |