public interface SessionConfigType<T> extends Child<T>, JavaeeSessionConfigCommonType<T,SessionConfigType<T>>
session-configType
xsd typeModifier 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-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... values)
tracking-mode
elements,
a new tracking-mode
elementvalues
- list of tracking-mode
objectsSessionConfigType
SessionConfigType<T> trackingMode(String... values)
tracking-mode
elements,
a new tracking-mode
elementvalues
- list of tracking-mode
objectsSessionConfigType
List<String> getAllTrackingMode()
tracking-mode
elementstracking-mode
SessionConfigType<T> removeAllTrackingMode()
tracking-mode
elementSessionConfigType
SessionConfigType<T> id(String id)
id
attributeid
- the value for the attribute id
SessionConfigType
String getId()
id
attributeid
SessionConfigType<T> removeId()
id
attributeSessionConfigType
Copyright © 2019 JBoss by Red Hat. All rights reserved.