Class AbstractHttpOverXmppProvider<H extends AbstractHttpOverXmpp>

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected AbstractHttpOverXmpp.Data parseData​(org.jivesoftware.smack.xml.XmlPullParser parser)
      Parses Data element if any.
      protected org.jivesoftware.smackx.shim.packet.HeadersExtension parseHeaders​(org.jivesoftware.smack.xml.XmlPullParser parser)
      Parses HeadersExtension element if any.
      • Methods inherited from class org.jivesoftware.smack.provider.IQProvider

        parse, parse, parse, parse
      • Methods inherited from class org.jivesoftware.smack.provider.IqProvider

        parse, parse
      • Methods inherited from class org.jivesoftware.smack.provider.AbstractProvider

        getElementClass
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AbstractHttpOverXmppProvider

        public AbstractHttpOverXmppProvider()
    • Method Detail

      • parseHeaders

        protected org.jivesoftware.smackx.shim.packet.HeadersExtension parseHeaders​(org.jivesoftware.smack.xml.XmlPullParser parser)
                                                                             throws java.io.IOException,
                                                                                    org.jivesoftware.smack.xml.XmlPullParserException,
                                                                                    org.jivesoftware.smack.parsing.SmackParsingException
        Parses HeadersExtension element if any.
        Parameters:
        parser - parser
        Returns:
        HeadersExtension or null if no headers
        Throws:
        org.jivesoftware.smack.xml.XmlPullParserException - if an error in the XML parser occurred.
        java.io.IOException - if an I/O error occurred.
        org.jivesoftware.smack.parsing.SmackParsingException - if the Smack parser (provider) encountered invalid input.
      • parseData

        protected AbstractHttpOverXmpp.Data parseData​(org.jivesoftware.smack.xml.XmlPullParser parser)
                                               throws org.jivesoftware.smack.xml.XmlPullParserException,
                                                      java.io.IOException
        Parses Data element if any.
        Parameters:
        parser - parser
        Returns:
        Data or null if no data
        Throws:
        org.jivesoftware.smack.xml.XmlPullParserException - if an error in the XML parser occurred.
        java.io.IOException - if an I/O error occurred.