|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SessionConfigType<T>
This interface defines the contract for the session-configType
xsd type
Original Documentation:
The session-configType defines the session parameters
for this web application.
Used in: web-app
Method Summary | |
---|---|
CookieConfigType<SessionConfigType<T>> |
cookieConfig()
If not already created, a new cookie-config element will be created and returned. |
java.lang.Integer |
getSessionTimeout()
Returns the session-timeout element |
TrackingModeType |
getTrackingMode()
Returns the tracking-mode element |
java.lang.String |
getTrackingModeAsString()
Returns the tracking-mode element |
SessionConfigType<T> |
removeCookieConfig()
Removes the cookie-config element |
SessionConfigType<T> |
removeSessionTimeout()
Removes the session-timeout element |
SessionConfigType<T> |
setSessionTimeout(java.lang.Integer sessionTimeout)
If not already created, a new session-timeout element with the given value will be created. |
SessionConfigType<T> |
setTrackingMode(java.lang.String trackingMode)
If not already created, a new tracking-mode element with the given value will be created. |
SessionConfigType<T> |
setTrackingMode(TrackingModeType trackingMode)
If not already created, a new tracking-mode element with the given value will be created. |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
---|
up |
Method Detail |
---|
SessionConfigType<T> setSessionTimeout(java.lang.Integer sessionTimeout)
session-timeout
element with the given value will be created.
Otherwise, the existing session-timeout
element will be updated with the given value.
SessionConfigType
SessionConfigType<T> removeSessionTimeout()
session-timeout
element
SessionConfigType
java.lang.Integer getSessionTimeout()
session-timeout
element
session-timeout
SessionConfigType<T> removeCookieConfig()
cookie-config
element
SessionConfigType
CookieConfigType<SessionConfigType<T>> cookieConfig()
cookie-config
element will be created and returned.
Otherwise, the existing cookie-config
element will be returned.
cookie-config
SessionConfigType<T> setTrackingMode(TrackingModeType trackingMode)
tracking-mode
element with the given value will be created.
Otherwise, the existing tracking-mode
element will be updated with the given value.
SessionConfigType
SessionConfigType<T> setTrackingMode(java.lang.String trackingMode)
tracking-mode
element with the given value will be created.
Otherwise, the existing tracking-mode
element will be updated with the given value.
SessionConfigType
TrackingModeType getTrackingMode()
tracking-mode
element
tracking-mode
java.lang.String getTrackingModeAsString()
tracking-mode
element
tracking-mode
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |