public class Session extends SimpleIQ
If a server supports sessions, it MUST include a session element in the stream features it advertises to a client after the completion of stream authentication. Upon being informed that session establishment is required by the server the client MUST establish a session if it desires to engage in instant messaging and presence functionality.
For more information refer to the following link.
| Modifier and Type | Class and Description |
|---|---|
static class |
Session.Feature |
IQ.IQChildElementXmlStringBuilder, IQ.Type| Modifier and Type | Field and Description |
|---|---|
static String |
ELEMENT |
static String |
NAMESPACE |
IQ_ELEMENT, QUERY_ELEMENTDEFAULT_LANGUAGE, ITEM, language, TEXT| Constructor and Description |
|---|
Session() |
getIQChildElementBuildercreateErrorResponse, createResultIQ, getChildElementName, getChildElementNamespace, getChildElementXML, getType, isRequestIQ, setType, toXMLaddCommonAttributes, addExtension, addExtensions, appendErrorIfExists, getDefaultLanguage, getError, getExtension, getExtension, getExtensions, getExtensions, getExtensionsXML, getFrom, getLanguage, getPacketID, getStanzaId, getTo, hasExtension, hasExtension, hasStanzaIdSet, overrideExtension, removeExtension, removeExtension, setError, setFrom, setLanguage, setPacketID, setStanzaId, setTo, toStringpublic static final String ELEMENT
public static final String NAMESPACE
public Session()