private ComposableBody |
BOSHClient.applySessionCreationRequest(long rid,
ComposableBody orig) |
Modifies the specified body message such that it becomes a new
BOSH session creation request.
|
private ComposableBody |
BOSHClient.applySessionData(long rid,
ComposableBody orig) |
Applies existing session data to the outbound request, returning the
modified request.
|
private void |
ApacheHTTPResponse.awaitResponse() |
Await the response, storing the result in the instance variables of
this class when they arrive.
|
private void |
BOSHClient.checkForTerminalBindingConditions(AbstractBody body,
int code) |
Checks to see if the response indicates a terminal binding condition
(as per XEP-0124 section 17).
|
protected void |
AbstractIntegerAttr.checkMinValue(int minVal) |
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.
|
(package private) static AttrAccept |
AttrAccept.createFromString(java.lang.String str) |
Creates a new attribute instance from the provided String.
|
(package private) static AttrAck |
AttrAck.createFromString(java.lang.String str) |
Creates a new attribute instance from the provided String.
|
(package private) static AttrHold |
AttrHold.createFromString(java.lang.String str) |
Creates a new attribute instance from the provided String.
|
(package private) static AttrInactivity |
AttrInactivity.createFromString(java.lang.String str) |
Creates a new attribute instance from the provided String.
|
(package private) static AttrMaxPause |
AttrMaxPause.createFromString(java.lang.String str) |
Creates a new attribute instance from the provided String.
|
(package private) static AttrPause |
AttrPause.createFromString(java.lang.String str) |
Creates a new attribute instance from the provided String.
|
(package private) static AttrPolling |
AttrPolling.createFromString(java.lang.String str) |
Creates a new attribute instance from the provided String.
|
(package private) static AttrRequests |
AttrRequests.createFromString(java.lang.String str) |
Creates a new attribute instance from the provided String.
|
(package private) static AttrVersion |
AttrVersion.createFromString(java.lang.String str) |
Creates a new attribute instance from the provided String.
|
(package private) static AttrWait |
AttrWait.createFromString(java.lang.String str) |
Creates a new attribute instance from the provided String.
|
void |
BOSHClient.disconnect() |
End the BOSH session by disconnecting from the remote BOSH connection
manager.
|
void |
BOSHClient.disconnect(ComposableBody msg) |
End the BOSH session by disconnecting from the remote BOSH connection
manager, sending the provided content in the final connection
termination message.
|
(package private) static CMSessionParams |
CMSessionParams.fromSessionInit(AbstractBody req,
AbstractBody resp) |
|
(package private) static ComposableBody |
ComposableBody.fromStaticBody(StaticBody body) |
Parse a static body instance into a composable instance.
|
static StaticBody |
StaticBody.fromStream(java.io.InputStream inStream) |
Creates an instance which is initialized by reading a body
message from the provided stream.
|
static StaticBody |
StaticBody.fromString(java.lang.String rawXML) |
Creates an instance which is initialized by reading a body
message from the provided raw XML string.
|
AbstractBody |
ApacheHTTPResponse.getBody() |
Wait for and then return the response body.
|
AbstractBody |
HTTPResponse.getBody() |
Get the HTTP response message body.
|
int |
ApacheHTTPResponse.getHTTPStatus() |
Wait for and then return the response HTTP status code.
|
int |
HTTPResponse.getHTTPStatus() |
Get the HTTP status code of the response (e.g., 200, 404, etc.).
|
private static java.lang.String |
CMSessionParams.getRequiredAttribute(AbstractBody body,
BodyQName name) |
|
BodyParserResults |
BodyParser.parse(java.lang.String xml) |
Parses the XML message, extracting the useful data from the initial
body element and returning it in a results object.
|
BodyParserResults |
BodyParserSAX.parse(java.lang.String xml) |
Parses the XML message, extracting the useful data from the initial
body element and returning it in a results object.
|
BodyParserResults |
BodyParserXmlPull.parse(java.lang.String xml) |
Parses the XML message, extracting the useful data from the initial
body element and returning it in a results object.
|
private static int |
AbstractIntegerAttr.parseInt(java.lang.String str) |
Utility method to parse a String into an Integer ,
converting any possible NumberFormatException thrown into
a BOSHException .
|
private HTTPExchange |
BOSHClient.processResponseAcknowledgementReport(AbstractBody resp) |
Process the response in order to check for and respond to any potential
ack reports.
|
void |
BOSHClient.send(ComposableBody body) |
Send the provided message data to the remote connection manager.
|