Class Gone
- java.lang.Object
-
- rocks.xmpp.core.stanza.model.errors.Condition
-
- rocks.xmpp.core.stanza.model.errors.Gone
-
public final class Gone extends Condition
The implementation of the<gone/>
stanza error.The recipient or server can no longer be contacted at this address, typically on a permanent basis (as opposed to the
<redirect/>
error condition, which is used for temporary addressing failures); the associated error type SHOULD be "cancel" and the error stanza SHOULD include a new address (if available) as the XML character data of the<gone/>
element (which MUST be a Uniform Resource Identifier [URI] or Internationalized Resource Identifier [IRI] at which the entity can be contacted, typically an XMPP IRI as specified in [XMPP-URI]).- See Also:
Condition.gone(String)
-
-
Field Summary
-
Fields inherited from class rocks.xmpp.core.stanza.model.errors.Condition
BAD_REQUEST, CONFLICT, FEATURE_NOT_IMPLEMENTED, FORBIDDEN, INTERNAL_SERVER_ERROR, ITEM_NOT_FOUND, JID_MALFORMED, NOT_ACCEPTABLE, NOT_ALLOWED, NOT_AUTHORIZED, POLICY_VIOLATION, RECIPIENT_UNAVAILABLE, REGISTRATION_REQUIRED, REMOTE_SERVER_NOT_FOUND, REMOTE_SERVER_TIMEOUT, RESOURCE_CONSTRAINT, SERVICE_UNAVAILABLE, SUBSCRIPTION_REQUIRED, UNDEFINED_CONDITION, UNEXPECTED_REQUEST
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getNewAddress()
Gets the new address.
-
-
-
Method Detail
-
getNewAddress
public final String getNewAddress()
Gets the new address.- Returns:
- The new address.
-
-