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]).
Condition.gone(String)
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
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getNewAddress()
Gets the new address.
|
Copyright © 2014–2019 XMPP.rocks. All rights reserved.