
public interface SessionConfigType<T> extends Child<T>, JavaeeSessionConfigCommonType<T,SessionConfigType<T>>
session-configType xsd type| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAllTrackingMode()
Returns all
tracking-mode elements |
String |
getId()
Returns the
id attribute |
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 |
SessionConfigType<T> |
id(String id)
Sets the
id attribute |
SessionConfigType<T> |
removeAllTrackingMode()
Removes the
tracking-mode element |
SessionConfigType<T> |
removeCookieConfig()
Removes the
cookie-config element |
SessionConfigType<T> |
removeId()
Removes the
id attribute |
SessionConfigType<T> |
removeSessionTimeout()
Removes the
session-timeout element |
SessionConfigType<T> |
sessionTimeout(Integer sessionTimeout)
Sets the
session-timeout element |
SessionConfigType<T> |
trackingMode(String... values)
Creates for all String objects representing
tracking-mode elements,
a new tracking-mode element |
SessionConfigType<T> |
trackingMode(TrackingModeType... values)
Creates for all javaee:tracking-modeType objects representing
tracking-mode elements,
a new 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... values)
tracking-mode elements,
a new tracking-mode elementvalues - list of tracking-mode objectsSessionConfigTypeSessionConfigType<T> trackingMode(String... values)
tracking-mode elements,
a new tracking-mode elementvalues - list of tracking-mode objectsSessionConfigTypeList<String> getAllTrackingMode()
tracking-mode elementstracking-modeSessionConfigType<T> removeAllTrackingMode()
tracking-mode elementSessionConfigTypeSessionConfigType<T> id(String id)
id attributeid - the value for the attribute idSessionConfigTypeString getId()
id attributeidSessionConfigType<T> removeId()
id attributeSessionConfigTypeCopyright © 2021 JBoss by Red Hat. All rights reserved.