Package rocks.xmpp.extensions.httpbind
Provides classes for XEP-0124: Bidirectional-streams Over
Synchronous HTTP (BOSH) and XEP-0206: XMPP Over BOSH.
XEP-124 defines a transport protocol that emulates the semantics of a long-lived, bidirectional TCP connection between two entities (such as a client and a server) by efficiently using multiple synchronous HTTP request/response pairs without requiring the use of frequent polling or chunked responses.
XEP-206 defines how the Bidirectional-streams Over Synchronous HTTP (BOSH) technology can be used to transport XMPP stanzas. The result is an HTTP binding for XMPP communications that is useful in situations where a device or client is unable to maintain a long-lived TCP connection to an XMPP server.
-
Class Summary Class Description BoshConnection The abstract base class for BOSH connections.BoshConnectionConfiguration A configuration for a BOSH connection.BoshConnectionConfiguration.Builder A builder to create aBoshConnectionConfiguration
instance.HttpClientConnector A BOSH transport connector which usesHttpClient
.HttpUrlConnector A BOSH transport connector which usesHttpURLConnection
. -
Exception Summary Exception Description BoshException A BOSH exception is thrown when the BOSH connection manager returned an error condition or the HTTP request responded with an HTTP error code.