Modifies the specified body message such that it becomes a new
BOSH session creation request.
Applies existing session data to the outbound request, returning the
modified request.
private void
Await the response, storing the result in the instance variables of
this class when they arrive.
private void
Checks to see if the response indicates a terminal binding condition
(as per XEP-0124 section 17).
protected final void
Utility method intended to be called by concrete implementation
classes from within the check()
method when the concrete
class needs to ensure that the integer value does not drop below
the specified minimum value.
Creates a new attribute instance from the provided String.
Creates a new attribute instance from the provided String.
Creates a new attribute instance from the provided String.
Creates a new attribute instance from the provided String.
Creates a new attribute instance from the provided String.
Creates a new attribute instance from the provided String.
Creates a new attribute instance from the provided String.
Creates a new attribute instance from the provided String.
Creates a new attribute instance from the provided String.
Creates a new attribute instance from the provided String.
void
End the BOSH session by disconnecting from the remote BOSH connection
manager.
void
End the BOSH session by disconnecting from the remote BOSH connection
manager, sending the provided content in the final connection
termination message.
Parse a static body instance into a composable instance.
Creates an instance which is initialized by reading a body
message from the provided stream.
Creates an instance which is initialized by reading a body
message from the provided raw XML string.
Wait for and then return the response body.
Get the HTTP response message body.
int
Wait for and then return the response HTTP status code.
int
Get the HTTP status code of the response (e.g., 200, 404, etc.).
Parses the XML message, extracting the useful data from the initial
body element and returning it in a results object.
Parses the XML message, extracting the useful data from the initial
body element and returning it in a results object.
Parses the XML message, extracting the useful data from the initial
body element and returning it in a results object.
private static int
Utility method to parse a String
into an Integer
,
converting any possible NumberFormatException
thrown into
a BOSHException
.
Process the response in order to check for and respond to any potential
ack reports.
void
Send the provided message data to the remote connection manager.
protected
Creates a new attribute object.
protected
Creates a new attribute object.
private
Creates a new attribute object.
private
Creates a new attribute object.
private
Creates a new attribute object.
private
Creates a new attribute object.
private
Creates a new attribute object.
private
Creates a new attribute object.
private
Creates a new attribute object.
private
Creates a new attribute object.
private
Creates a new attribute object.