|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CookieConfigType<T>
This interface defines the contract for 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
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. |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
---|
up |
Method Detail |
---|
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.
CookieConfigType
CookieConfigType<T> removeName()
name
element
CookieConfigType
java.lang.String getName()
name
element
name
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.
CookieConfigType
CookieConfigType<T> removeDomain()
domain
element
CookieConfigType
java.lang.String getDomain()
domain
element
domain
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.
CookieConfigType
CookieConfigType<T> removePath()
path
element
CookieConfigType
java.lang.String getPath()
path
element
path
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.
CookieConfigType
CookieConfigType<T> removeComment()
comment
element
CookieConfigType
java.lang.String getComment()
comment
element
comment
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.
CookieConfigType
CookieConfigType<T> removeHttpOnly()
http-only
element
CookieConfigType
java.lang.Boolean isHttpOnly()
http-only
element
http-only
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.
CookieConfigType
CookieConfigType<T> removeSecure()
secure
element
CookieConfigType
java.lang.Boolean isSecure()
secure
element
secure
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.
CookieConfigType
CookieConfigType<T> removeMaxAge()
max-age
element
CookieConfigType
java.lang.Integer getMaxAge()
max-age
element
max-age
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |