public final class Failure extends Object implements ServerStreamElement
<failure/> element, which indicates a SASL failure.
The receiving entity reports failure of the handshake for this authentication mechanism by sending a
<failure/>element qualified by the 'urn:ietf:params:xml:ns:xmpp-sasl' namespace.
This class is immutable.
| Modifier and Type | Class and Description |
|---|---|
static class |
Failure.Condition
A general class for a SASL failure condition.
|
| Modifier and Type | Method and Description |
|---|---|
Failure.Condition |
getCondition()
Gets the defined error condition.
|
String |
getLanguage()
Gets the language of the text.
|
String |
getText()
Gets the text of the failure.
|
String |
toString() |
public final Failure.Condition getCondition()
public final String getText()
public final String getLanguage()
Copyright © 2014–2015 XMPP.rocks. All rights reserved.