Package org.igniterealtime.jbosh
Core classes of the JBOSH API.
Users of the client portion of the API should start by reading
up on the
BOSHClient
documentation.-
Interface Summary Interface Description BodyParser Interface for parser implementations to implement in order to abstract the business of XML parsing out of the Body class.BOSHClientConnListener Interface used by parties interested in monitoring the connection state of a client session.BOSHClientRequestListener Interface used by parties interested in monitoring outbound requests made by the client to the connection manager (CM).BOSHClientResponseListener Interface used by parties interested in monitoring inbound responses to the client from the connection manager (CM).HTTPResponse This class represents a complete HTTP response to a request made via aHTTPSender
send request.HTTPSender Interface used to represent code which can send a BOSH XML body over HTTP to a connection manager. -
Class Summary Class Description AbstractAttr<T extends java.lang.Comparable> Abstract base class for creating BOSH attribute classes.AbstractBody Class representing a single message to or from the BOSH connection manager (CM).AbstractIntegerAttr Abstract base class for attribute implementations based onInteger
types.ApacheHTTPResponse ApacheHTTPSender Implementation of theHTTPSender
interface which uses the Apache HttpClient API to send messages to the connection manager.AttrAccept Data type representing the getValue of theaccept
attribute of thebosh
element.AttrAck Data type representing the getValue of theack
attribute of thebosh
element.AttrCharsets Data type representing the getValue of thecharsets
attribute of thebosh
element.AttrHold Data type representing the getValue of thehold
attribute of thebosh
element.Attributes Class containing constants for attribute definitions used by the XEP-0124 specification.AttrInactivity Data type representing the value of theinactivity
attribute of thebosh
element.AttrMaxPause Data type representing the getValue of themaxpause
attribute of thebosh
element.AttrPause Data type representing the getValue of thepause
attribute of thebosh
element.AttrPolling Data type representing the getValue of thepolling
attribute of thebosh
element.AttrRequests Data type representing the value of therequests
attribute of thebosh
element.AttrSessionID Data type representing the getValue of thesid
attribute of thebosh
element.AttrVersion Data type representing the getValue of thever
attribute of thebosh
element.AttrWait Data type representing the getValue of thewait
attribute of thebosh
element.BodyParserResults Data extracted from a raw XML message by a BodyParser implementation.BodyParserSAX Implementation of the BodyParser interface which uses the SAX API that is part of the JDK.BodyParserSAX.Handler SAX event handler class.BodyParserXmlPull Implementation of the BodyParser interface which uses the XmlPullParser API.BodyQName Qualified name of an attribute of the wrapper element.BOSHClient BOSH Client session instance.BOSHClient.ExchangeInterceptor Class used in testing to dynamically manipulate received exchanges at test runtime.BOSHClientConfig BOSH client configuration information.BOSHClientConfig.Builder Class instance builder, after the builder pattern.BOSHClientConnEvent Client connection event, notifying of changes in connection state.BOSHMessageEvent Event representing a message sent to or from a BOSH connection manager.CMSessionParams A BOSH connection manager session instance.ComposableBody Implementation of theAbstractBody
class which allows for the definition of messages from individual elements of a body.ComposableBody.Builder Class instance builder, after the builder pattern.GZIPCodec Codec methods for compressing and uncompressing using GZIP.HTTPExchange A request and response pair representing a single exchange with a remote content manager.RequestIDSequence Request ID sequence generator.ServiceLib Utility library for use in loading services using the Jar Service Provider Interface (Jar SPI).StaticBody Implementation of theAbstractBody
class which allows for the definition of messages from pre-existing message content.TerminalBindingCondition Terminal binding conditions and their associated messages.ZLIBCodec Codec methods for compressing and uncompressing using ZLIB. -
Exception Summary Exception Description BOSHException Exception class used by the BOSH API to minimize the number of checked exceptions which must be handled by the user of the API.