isSupported
public static boolean isSupported(org.jxmpp.jid.Jid jid,
org.jivesoftware.smack.XMPPConnection connection)
throws org.jivesoftware.smack.SmackException.NoResponseException,
org.jivesoftware.smack.XMPPException.XMPPErrorException,
org.jivesoftware.smack.SmackException.NotConnectedException,
java.lang.InterruptedException
Returns true if the given entity understands the HTTP ove XMPP transport format and allows the exchange of such.
- Parameters:
jid
- jid
connection
- connection
- Returns:
- true if the given entity understands the HTTP ove XMPP transport format and exchange.
- Throws:
org.jivesoftware.smack.XMPPException.XMPPErrorException
org.jivesoftware.smack.SmackException.NoResponseException
org.jivesoftware.smack.SmackException.NotConnectedException
java.lang.InterruptedException