|
ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3 | |||||||||
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
Method Summary | |
---|---|
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 |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
---|
up |
Method Detail |
---|
SessionConfigType<T> sessionTimeout(Integer sessionTimeout)
session-timeout
element
sessionTimeout
- the value for the element session-timeout
SessionConfigType
Integer getSessionTimeout()
session-timeout
element
session-timeout
SessionConfigType<T> removeSessionTimeout()
session-timeout
element
SessionConfigType
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
element
SessionConfigType
SessionConfigType<T> trackingMode(TrackingModeType trackingMode)
tracking-mode
element
trackingMode
- the value for the element tracking-mode
SessionConfigType
SessionConfigType<T> trackingMode(String trackingMode)
tracking-mode
element
trackingMode
- the value for the element tracking-mode
SessionConfigType
TrackingModeType getTrackingMode()
tracking-mode
element
tracking-mode
String getTrackingModeAsString()
tracking-mode
element
tracking-mode
SessionConfigType<T> removeTrackingMode()
tracking-mode
attribute
SessionConfigType
|
ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |