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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isSupported
(Jid jid, 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(Jid jid, XMPPConnection connection) throws SmackException.NoResponseException, XMPPException.XMPPErrorException, 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:
XMPPException.XMPPErrorException
- if there was an XMPP error returned.SmackException.NoResponseException
- if there was no response from the remote entity.SmackException.NotConnectedException
- if the XMPP connection is not connected.InterruptedException
- if the calling thread was interrupted.
-