Package org.jivesoftware.smackx.hoxt
Class HOXTManager
java.lang.Object
org.jivesoftware.smackx.hoxt.HOXTManager
Manager for HTTP ove XMPP transport (XEP-0332) extension.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisSupported(org.jxmpp.jid.Jid jid, org.jivesoftware.smack.XMPPConnection connection) Returns true if the given entity understands the HTTP ove XMPP transport format and allows the exchange of such.
-
Field Details
-
NAMESPACE
Namespace for this extension.- See Also:
-
-
Constructor Details
-
HOXTManager
public HOXTManager()
-
-
Method Details
-
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, InterruptedException Returns true if the given entity understands the HTTP ove XMPP transport format and allows the exchange of such.- Parameters:
jid- jidconnection- 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.InterruptedException- if the calling thread was interrupted.
-