Package org.jivesoftware.smack.packet
Class AbstractIqBuilder<IB extends AbstractIqBuilder<IB>>
- java.lang.Object
-
- org.jivesoftware.smack.packet.StanzaBuilder<IB>
-
- org.jivesoftware.smack.packet.AbstractIqBuilder<IB>
-
- All Implemented Interfaces:
IqView
,StanzaView
,XmlLangElement
public abstract class AbstractIqBuilder<IB extends AbstractIqBuilder<IB>> extends StanzaBuilder<IB> implements IqView
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addStanzaSpecificAttributes(ToStringUtil.Builder builder)
static IqData
createErrorResponse(IqView request)
static IqData
createResponse(IqView request)
protected static IqData
createResponse(IqView request, IQ.ResponseType responseType)
IQ.Type
getType()
Returns the type of the IQ packet.-
Methods inherited from class org.jivesoftware.smack.packet.StanzaBuilder
addExtension, addExtensions, addOptExtensions, build, buildIqData, buildMessage, buildMessage, buildMessageFrom, buildMessageFrom, buildPresence, buildPresence, buildPresenceFrom, buildPresenceFrom, buildResponse, from, from, getError, getExtension, getExtensions, getExtensions, getExtensions, getFrom, getLanguage, getStanzaId, getThis, getTo, overrideExtension, setError, setLanguage, throwIfNoStanzaId, to, to, toString, willBuildStanzaWithId
-
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.StanzaView
getError, getExtension, getExtension, getExtensions, getExtensions, getExtensions, getFrom, getStanzaId, getTo, hasExtension, hasExtension, hasExtension
-
Methods inherited from interface org.jivesoftware.smack.packet.XmlLangElement
getLanguage
-
-
-
-
Method Detail
-
createResponse
public static IqData createResponse(IqView request)
-
createErrorResponse
public static IqData createErrorResponse(IqView request)
-
createResponse
protected static IqData createResponse(IqView request, IQ.ResponseType responseType)
-
addStanzaSpecificAttributes
protected final void addStanzaSpecificAttributes(ToStringUtil.Builder builder)
- Specified by:
addStanzaSpecificAttributes
in classStanzaBuilder<IB extends AbstractIqBuilder<IB>>
-
-