Class AbstractHttpOverXmppProvider<H extends AbstractHttpOverXmpp>

    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.jivesoftware.smack.provider.AbstractProvider

        org.jivesoftware.smack.provider.AbstractProvider.NumberFormatParseException, org.jivesoftware.smack.provider.AbstractProvider.TextParseException, org.jivesoftware.smack.provider.AbstractProvider.WrappableParser<E extends java.lang.Object>
    • 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
      • Methods inherited from class org.jivesoftware.smack.provider.AbstractProvider

        getElementClass, wrapExceptions
      • 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.