public interface SessionConfigType<T> extends Child<T>
session-configType
xsd typeModifier and Type | Method and Description |
---|---|
CookieConfigType<SessionConfigType<T>> |
getOrCreateCookieConfig()
If not already created, a new
cookie-config element with the given value will be created. |
Integer |
getSessionTimeout()
Returns the
session-timeout element |
TrackingModeType |
getTrackingMode()
Returns the
tracking-mode element |
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> |
removeTrackingMode()
Removes the
tracking-mode attribute |
SessionConfigType<T> |
sessionTimeout(Integer sessionTimeout)
Sets the
session-timeout element |
SessionConfigType<T> |
trackingMode(String trackingMode)
Sets the
tracking-mode element |
SessionConfigType<T> |
trackingMode(TrackingModeType trackingMode)
Sets the
tracking-mode element |
SessionConfigType<T> sessionTimeout(Integer sessionTimeout)
session-timeout
elementsessionTimeout
- the value for the element session-timeout
SessionConfigType
Integer getSessionTimeout()
session-timeout
elementsession-timeout
SessionConfigType<T> removeSessionTimeout()
session-timeout
elementSessionConfigType
CookieConfigType<SessionConfigType<T>> getOrCreateCookieConfig()
cookie-config
element with the given value will be created.
Otherwise, the existing cookie-config
element will be returned.CookieConfigType>
SessionConfigType<T> removeCookieConfig()
cookie-config
elementSessionConfigType
SessionConfigType<T> trackingMode(TrackingModeType trackingMode)
tracking-mode
elementtrackingMode
- the value for the element tracking-mode
SessionConfigType
SessionConfigType<T> trackingMode(String trackingMode)
tracking-mode
elementtrackingMode
- the value for the element tracking-mode
SessionConfigType
TrackingModeType getTrackingMode()
tracking-mode
elementtracking-mode
String getTrackingModeAsString()
tracking-mode
elementtracking-mode
SessionConfigType<T> removeTrackingMode()
tracking-mode
attributeSessionConfigType
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.