Package | Description |
---|---|
rocks.xmpp.core.stanza |
Provides classes for XML stanza management (message, presence, IQ).
|
rocks.xmpp.core.stanza.model |
Provides XML Stanzas and Stanza Errors.
|
rocks.xmpp.core.stanza.model.errors |
Provides XML schema implementations of the Stanza Error Namespace.
|
rocks.xmpp.extensions.sm.model |
Provides XML schema implementations of XEP-0198: Stream Management.
|
Modifier and Type | Method and Description |
---|---|
Condition |
StanzaException.getCondition()
Deprecated.
Gets the defined error condition.
|
Modifier and Type | Method and Description |
---|---|
Condition |
StanzaError.getCondition()
Gets the defined error condition or
UNDEFINED_CONDITION if the condition is unknown. |
Modifier and Type | Method and Description |
---|---|
abstract Stanza |
Stanza.createError(Condition condition)
Creates an error response for this stanza.
|
Presence |
Presence.createError(Condition condition) |
Message |
Message.createError(Condition condition) |
IQ |
IQ.createError(Condition condition) |
Constructor and Description |
---|
StanzaError(Condition condition)
Creates an error with a given condition.
|
StanzaError(Condition condition,
java.lang.Object extension)
Creates an error with a given condition and extension.
|
StanzaError(Condition condition,
java.lang.String text)
Creates an error with a given condition and text.
|
StanzaError(StanzaError.Type type,
Condition condition)
Creates an error with a given error type and a condition.
|
StanzaError(StanzaError.Type type,
Condition condition,
java.lang.String text)
Creates an error with a given error type and a condition.
|
StanzaError(StanzaError.Type type,
Condition condition,
java.lang.String text,
java.util.Locale language,
java.lang.Object extension,
Jid by)
Creates a stanza error with all possible values.
|
Modifier and Type | Class and Description |
---|---|
class |
Gone
The implementation of the
<gone/> stanza error. |
class |
Redirect
The implementation of the
<redirect/> stanza error. |
Modifier and Type | Field and Description |
---|---|
static Condition |
Condition.BAD_REQUEST
The implementation of the
<bad-request/> stanza error. |
static Condition |
Condition.CONFLICT
The implementation of the
<conflict/> stanza error. |
static Condition |
Condition.FEATURE_NOT_IMPLEMENTED
The implementation of the
<feature-not-implemented/> stanza error. |
static Condition |
Condition.FORBIDDEN
The implementation of the
<forbidden/> stanza error. |
static Condition |
Condition.INTERNAL_SERVER_ERROR
The implementation of the
<internal-server-error/> stanza error. |
static Condition |
Condition.ITEM_NOT_FOUND
The implementation of the
<item-not-found/> stanza error. |
static Condition |
Condition.JID_MALFORMED
The implementation of the
<jid-malformed/> stanza error. |
static Condition |
Condition.NOT_ACCEPTABLE
The implementation of the
<not-acceptable/> stanza error. |
static Condition |
Condition.NOT_ALLOWED
The implementation of the
<not-allowed/> stanza error. |
static Condition |
Condition.NOT_AUTHORIZED
The implementation of the
<not-authorized/> stanza error. |
static Condition |
Condition.POLICY_VIOLATION
The implementation of the
<policy-violation/> stanza error. |
static Condition |
Condition.RECIPIENT_UNAVAILABLE
The implementation of the
<recipient-unavailable/> stanza error. |
static Condition |
Condition.REGISTRATION_REQUIRED
The implementation of the
<registration-required/> stanza error. |
static Condition |
Condition.REMOTE_SERVER_NOT_FOUND
The implementation of the
<remote-server-not-found/> stanza error. |
static Condition |
Condition.REMOTE_SERVER_TIMEOUT
The implementation of the
<remote-server-timeout/> stanza error. |
static Condition |
Condition.RESOURCE_CONSTRAINT
The implementation of the
<resource-constraint/> stanza error. |
static Condition |
Condition.SERVICE_UNAVAILABLE
The implementation of the
<service-unavailable/> stanza error. |
static Condition |
Condition.SUBSCRIPTION_REQUIRED
The implementation of the
<subscription-required/> stanza error. |
static Condition |
Condition.UNDEFINED_CONDITION
The implementation of the
<undefined-condition/> stanza error. |
static Condition |
Condition.UNEXPECTED_REQUEST
The implementation of the
<unexpected-request/> stanza error. |
Modifier and Type | Method and Description |
---|---|
static StanzaError.Type |
Condition.getErrorTypeByCondition(Condition condition)
Gets the associated stanza error type for a condition.
|
Modifier and Type | Method and Description |
---|---|
Condition |
StreamManagement.Failed.getError()
Gets the stanza error.
|
Constructor and Description |
---|
Failed(Condition stanzaError) |
Failed(Condition stanzaError,
java.lang.Long h) |
Copyright © 2014–2019 XMPP.rocks. All rights reserved.