public interface SessionConfigType<T> extends Child<T>
session-configType xsd type| Modifier 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-timeoutSessionConfigTypeInteger getSessionTimeout()
session-timeout elementsession-timeoutSessionConfigType<T> removeSessionTimeout()
session-timeout elementSessionConfigTypeCookieConfigType<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 elementSessionConfigTypeSessionConfigType<T> trackingMode(TrackingModeType trackingMode)
tracking-mode elementtrackingMode - the value for the element tracking-modeSessionConfigTypeSessionConfigType<T> trackingMode(String trackingMode)
tracking-mode elementtrackingMode - the value for the element tracking-modeSessionConfigTypeTrackingModeType getTrackingMode()
tracking-mode elementtracking-modeString getTrackingModeAsString()
tracking-mode elementtracking-modeSessionConfigType<T> removeTrackingMode()
tracking-mode attributeSessionConfigTypeCopyright © 2016 JBoss by Red Hat. All rights reserved.