Package org.jivesoftware.smackx.hoxt
Class HOXTManager
- java.lang.Object
-
- org.jivesoftware.smackx.hoxt.HOXTManager
-
public class HOXTManager extends Object
Manager for HTTP ove XMPP transport (XEP-0332) extension.- See Also:
- XEP-0332: HTTP over XMPP transport
-
-
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 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, 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.
-
-