Package org.jivesoftware.openfire.http
Class HttpBindBody
java.lang.Object
org.jivesoftware.openfire.http.HttpBindBody
Representation of the 'body' element of an HTTP-Bind defined request.
- Author:
- Guus der Kinderen, guus.der.kinderen@gmail.com
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasXML()static HttpBindBodyorg.dom4j.DocumentintgetHold()protected static intgetIntAttribute(String value, int defaultValue) protected static longgetLongAttribute(String value, long defaultValue) intintgetPause()getRid()getSid()List<org.dom4j.Element>getType()getWait()booleanisEmpty()booleanisPoll()booleantoString()
-
Constructor Details
-
HttpBindBody
protected HttpBindBody(String content) throws org.dom4j.DocumentException, org.xmlpull.v1.XmlPullParserException, IOException - Throws:
org.dom4j.DocumentExceptionorg.xmlpull.v1.XmlPullParserExceptionIOException
-
-
Method Details
-
from
public static HttpBindBody from(String content) throws org.dom4j.DocumentException, org.xmlpull.v1.XmlPullParserException, IOException - Throws:
org.dom4j.DocumentExceptionorg.xmlpull.v1.XmlPullParserExceptionIOException
-
getRid
-
getSid
-
isEmpty
public boolean isEmpty() -
isPoll
public boolean isPoll() -
getLanguage
-
getWait
-
getHold
public int getHold() -
getPause
-
getVersion
-
getMajorVersion
public int getMajorVersion() -
getMinorVersion
public int getMinorVersion() -
getType
-
isRestart
public boolean isRestart() -
getStanzaElements
-
asXML
-
toString
-
getDocument
public org.dom4j.Document getDocument() -
getLongAttribute
-
getIntAttribute
-