|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.grizzly.http.webxml.schema.version_3_0.SessionConfigType
public class SessionConfigType
The session-configType defines the session parameters for this web application. Used in: web-app
Java class for session-configType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="session-configType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="session-timeout" type="{http://java.sun.com/xml/ns/javaee}xsdIntegerType" minOccurs="0"/>
<element name="cookie-config" type="{http://java.sun.com/xml/ns/javaee}cookie-configType" minOccurs="0"/>
<element name="tracking-mode" type="{http://java.sun.com/xml/ns/javaee}tracking-modeType" maxOccurs="3" minOccurs="0"/>
</sequence>
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected CookieConfigType |
cookieConfig
|
protected String |
id
|
protected XsdIntegerType |
sessionTimeout
|
protected List<TrackingModeType> |
trackingMode
|
| Constructor Summary | |
|---|---|
SessionConfigType()
|
|
| Method Summary | |
|---|---|
CookieConfigType |
getCookieConfig()
Gets the value of the cookieConfig property. |
String |
getId()
Gets the value of the id property. |
XsdIntegerType |
getSessionTimeout()
Gets the value of the sessionTimeout property. |
List<TrackingModeType> |
getTrackingMode()
Gets the value of the trackingMode property. |
void |
setCookieConfig(CookieConfigType value)
Sets the value of the cookieConfig property. |
void |
setId(String value)
Sets the value of the id property. |
void |
setSessionTimeout(XsdIntegerType value)
Sets the value of the sessionTimeout property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected XsdIntegerType sessionTimeout
protected CookieConfigType cookieConfig
protected List<TrackingModeType> trackingMode
protected String id
| Constructor Detail |
|---|
public SessionConfigType()
| Method Detail |
|---|
public XsdIntegerType getSessionTimeout()
XsdIntegerTypepublic void setSessionTimeout(XsdIntegerType value)
value - allowed object is
XsdIntegerTypepublic CookieConfigType getCookieConfig()
CookieConfigTypepublic void setCookieConfig(CookieConfigType value)
value - allowed object is
CookieConfigTypepublic List<TrackingModeType> getTrackingMode()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the trackingMode property.
For example, to add a new item, do as follows:
getTrackingMode().add(newItem);
Objects of the following type(s) are allowed in the list
TrackingModeType
public String getId()
Stringpublic void setId(String value)
value - allowed object is
String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||