public final class Redirect extends Condition
The implementation of the
<redirect/> stanza error.
The recipient or server is redirecting requests for this information to another entity, typically in a temporary fashion (as opposed to the
<gone/>error condition, which is used for permanent addressing failures); the associated error type SHOULD be “modify” and the error stanza SHOULD contain the alternate address in the XML character data of the
<redirect/>element (which MUST be a URI or IRI with which the sender can communicate, typically an XMPP IRI as specified in [XMPP-URI]).
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|
Gets the alternate address.
getErrorTypeByCondition, gone, gone, redirect, toString
Copyright © 2014–2019 XMPP.rocks. All rights reserved.