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:
Element
,FullyQualifiedElement
,IqView
,NamedElement
,StanzaView
,TopLevelStreamElement
,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 class
HttpOverXmppReq.Builder
A 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
-
Nested classes/interfaces inherited from class org.jivesoftware.smack.packet.IQ
IQ.IQChildElementXmlStringBuilder, IQ.ResponseType, IQ.Type
-
-
Field Summary
Fields Modifier and Type Field Description static String
ELEMENT
-
Fields inherited from class org.jivesoftware.smackx.hoxt.packet.AbstractHttpOverXmpp
NAMESPACE
-
Fields inherited from class org.jivesoftware.smack.packet.IQ
IQ_ELEMENT, QUERY_ELEMENT
-
Fields inherited from class org.jivesoftware.smack.packet.Stanza
DEFAULT_LANGUAGE, ITEM, language, TEXT
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HttpOverXmppReq.Builder
builder()
protected IQ.IQChildElementXmlStringBuilder
getIQHoxtChildElementBuilder(IQ.IQChildElementXmlStringBuilder builder)
Returns start tag.int
getMaxChunkSize()
Returns maxChunkSize attribute.HttpMethod
getMethod()
Returns method attribute.String
getResource()
Returns resource attribute.boolean
isIbb()
Returns ibb attribute.boolean
isJingle()
Returns jingle attribute.boolean
isSipub()
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
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.jivesoftware.smack.packet.FullyQualifiedElement
getQName
-
Methods inherited from interface org.jivesoftware.smack.packet.StanzaView
getError, getExtension, getExtension, getExtensions, getExtensions, getExtensions, getFrom, getStanzaId, getTo, hasExtension, hasExtension, hasExtension
-
-
-
-
Field Detail
-
ELEMENT
public static final String ELEMENT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getIQHoxtChildElementBuilder
protected IQ.IQChildElementXmlStringBuilder getIQHoxtChildElementBuilder(IQ.IQChildElementXmlStringBuilder builder)
Description copied from class:AbstractHttpOverXmpp
Returns start tag.- Specified by:
getIQHoxtChildElementBuilder
in classAbstractHttpOverXmpp
- Parameters:
builder
- builder.- Returns:
- start tag
-
getMethod
public HttpMethod getMethod()
Returns method attribute.- Returns:
- method attribute
-
getResource
public 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()
-
-