Class Gone


  • public final class Gone
    extends Condition
    The implementation of the <gone/> stanza error.

    8.3.3.5. gone

    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)
    • Method Detail

      • getNewAddress

        public final String getNewAddress()
        Gets the new address.
        Returns:
        The new address.