Class HttpOverXmppReq
- java.lang.Object
-
- org.jivesoftware.smack.packet.Stanza
-
- org.jivesoftware.smack.packet.IQ
-
- org.jivesoftware.smackx.hoxt.packet.AbstractHttpOverXmpp
-
- org.jivesoftware.smackx.hoxt.packet.HttpOverXmppReq
-
- All Implemented Interfaces:
org.jivesoftware.smack.packet.Element,org.jivesoftware.smack.packet.FullyQualifiedElement,org.jivesoftware.smack.packet.IqView,org.jivesoftware.smack.packet.NamedElement,org.jivesoftware.smack.packet.StanzaView,org.jivesoftware.smack.packet.TopLevelStreamElement,org.jivesoftware.smack.packet.XmlLangElement
public final class HttpOverXmppReq extends AbstractHttpOverXmpp
Represents Req IQ packet.- See Also:
- XEP-0332: HTTP over XMPP transport
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHttpOverXmppReq.BuilderA configuration builder for HttpOverXmppReq.-
Nested classes/interfaces inherited from class org.jivesoftware.smackx.hoxt.packet.AbstractHttpOverXmpp
AbstractHttpOverXmpp.Base64, AbstractHttpOverXmpp.ChunkedBase64, AbstractHttpOverXmpp.Data, AbstractHttpOverXmpp.Ibb, AbstractHttpOverXmpp.Text, AbstractHttpOverXmpp.Xml
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringELEMENT-
Fields inherited from class org.jivesoftware.smackx.hoxt.packet.AbstractHttpOverXmpp
NAMESPACE
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HttpOverXmppReq.Builderbuilder()protected org.jivesoftware.smack.packet.IQ.IQChildElementXmlStringBuildergetIQHoxtChildElementBuilder(org.jivesoftware.smack.packet.IQ.IQChildElementXmlStringBuilder builder)Returns start tag.intgetMaxChunkSize()Returns maxChunkSize attribute.HttpMethodgetMethod()Returns method attribute.java.lang.StringgetResource()Returns resource attribute.booleanisIbb()Returns ibb attribute.booleanisJingle()Returns jingle attribute.booleanisSipub()Returns sipub attribute.-
Methods inherited from class org.jivesoftware.smackx.hoxt.packet.AbstractHttpOverXmpp
getData, getHeaders, getIQChildElementBuilder, getVersion
-
Methods inherited from class org.jivesoftware.smack.packet.IQ
createErrorResponse, createErrorResponse, createErrorResponse, createResultIQ, getChildElementName, getChildElementNamespace, getChildElementQName, getChildElementXML, getElementName, getType, isRequestIQ, isResponseIQ, setType, toString, toXML
-
Methods inherited from class org.jivesoftware.smack.packet.Stanza
addCommonAttributes, addExtension, addExtensions, appendErrorIfExists, getDefaultLanguage, getError, getExtension, getExtension, getExtension, getExtensionElement, getExtensions, getExtensions, getExtensions, getExtensions, getExtensionsMap, getFrom, getLanguage, getNamespace, getStanzaId, getTo, hasExtension, hasExtension, hasStanzaIdSet, logCommonAttributes, overrideExtension, removeExtension, removeExtension, setError, setError, setFrom, setLanguage, setNewStanzaId, setStanzaId, setStanzaId, setTo, throwIfNoStanzaId
-
-
-
-
Field Detail
-
ELEMENT
public static final java.lang.String ELEMENT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getIQHoxtChildElementBuilder
protected org.jivesoftware.smack.packet.IQ.IQChildElementXmlStringBuilder getIQHoxtChildElementBuilder(org.jivesoftware.smack.packet.IQ.IQChildElementXmlStringBuilder builder)
Description copied from class:AbstractHttpOverXmppReturns start tag.- Specified by:
getIQHoxtChildElementBuilderin classAbstractHttpOverXmpp- Parameters:
builder- builder.- Returns:
- start tag
-
getMethod
public HttpMethod getMethod()
Returns method attribute.- Returns:
- method attribute
-
getResource
public java.lang.String getResource()
Returns resource attribute.- Returns:
- resource attribute
-
getMaxChunkSize
public int getMaxChunkSize()
Returns maxChunkSize attribute.- Returns:
- maxChunkSize attribute
-
isSipub
public boolean isSipub()
Returns sipub attribute.- Returns:
- sipub attribute
-
isIbb
public boolean isIbb()
Returns ibb attribute.- Returns:
- ibb attribute
-
isJingle
public boolean isJingle()
Returns jingle attribute.- Returns:
- jingle attribute
-
builder
public static HttpOverXmppReq.Builder builder()
-
-