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 - if there was an XMPP error returned.
org.jivesoftware.smack.SmackException.NoResponseException - if there was no response from the remote entity.
org.jivesoftware.smack.SmackException.NotConnectedException - if the XMPP connection is not connected.
java.lang.InterruptedException - if the calling thread was interrupted.