|
||||||||||
| 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.
CookieConfigTypeCookieConfigType<T> removeName()
name element
CookieConfigTypejava.lang.String getName()
name element
nameCookieConfigType<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.
CookieConfigTypeCookieConfigType<T> removeDomain()
domain element
CookieConfigTypejava.lang.String getDomain()
domain element
domainCookieConfigType<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.
CookieConfigTypeCookieConfigType<T> removePath()
path element
CookieConfigTypejava.lang.String getPath()
path element
pathCookieConfigType<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.
CookieConfigTypeCookieConfigType<T> removeComment()
comment element
CookieConfigTypejava.lang.String getComment()
comment element
commentCookieConfigType<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.
CookieConfigTypeCookieConfigType<T> removeHttpOnly()
http-only element
CookieConfigTypejava.lang.Boolean isHttpOnly()
http-only element
http-onlyCookieConfigType<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.
CookieConfigTypeCookieConfigType<T> removeSecure()
secure element
CookieConfigTypejava.lang.Boolean isSecure()
secure element
secureCookieConfigType<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.
CookieConfigTypeCookieConfigType<T> removeMaxAge()
max-age element
CookieConfigTypejava.lang.Integer getMaxAge()
max-age element
max-age
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||