public static class SaslStreamElements.SASLFailure extends AbstractError implements Nonza
AbstractError.Builder<B extends AbstractError.Builder<B>>| Modifier and Type | Field and Description |
|---|---|
static String |
ELEMENT |
descriptiveTexts, extensions, textNamespace| Constructor and Description |
|---|
SASLFailure(String saslError) |
SASLFailure(String saslError,
Map<String,String> descriptiveTexts) |
| Modifier and Type | Method and Description |
|---|---|
String |
getElementName()
Returns the root element name.
|
String |
getNamespace()
Returns the root element XML namespace.
|
SASLError |
getSASLError()
Get the SASL related error condition.
|
String |
getSASLErrorString()
Get the SASL error as String.
|
String |
toString() |
XmlStringBuilder |
toXML()
Returns the XML representation of this Element.
|
addDescriptiveTextsAndExtensions, getDescriptiveText, getDescriptiveText, getExtensionpublic static final String ELEMENT
public SASLFailure(String saslError)
public SASLFailure(String saslError, Map<String,String> descriptiveTexts)
public SASLError getSASLError()
public String getSASLErrorString()
public XmlStringBuilder toXML()
Elementpublic String getNamespace()
ExtensionElementgetNamespace in interface ExtensionElementpublic String getElementName()
NamedElementgetElementName in interface NamedElement