Package org.jivesoftware.smackx.hoxt
Class HOXTManager
- java.lang.Object
-
- org.jivesoftware.smackx.hoxt.HOXTManager
-
public class HOXTManager extends java.lang.Object
Manager for HTTP ove XMPP transport (XEP-0332) extension.- See Also:
- XEP-0332: HTTP over XMPP transport
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
NAMESPACE
Namespace for this extension.
-
Constructor Summary
Constructors Constructor Description HOXTManager()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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 Detail
-
NAMESPACE
public static final java.lang.String NAMESPACE
Namespace for this extension.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
HOXTManager
public HOXTManager()
-
-
Method Detail
-
isSupported
public static boolean isSupported(Jid jid, XMPPConnection connection) throws SmackException.NoResponseException, XMPPException.XMPPErrorException, 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
- 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.java.lang.InterruptedException
- if the calling thread was interrupted.
-
-