Class Redirect
- java.lang.Object
-
- rocks.xmpp.core.stanza.model.errors.Condition
-
- rocks.xmpp.core.stanza.model.errors.Redirect
-
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]).- See Also:
Condition.redirect(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
getAlternateAddress()
Gets the alternate address.
-
-
-
Method Detail
-
getAlternateAddress
public final String getAlternateAddress()
Gets the alternate address.- Returns:
- The alternate address.
-
-