public static class SaslStreamElements.Success extends java.lang.Object implements PlainStreamElement
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ELEMENT |
Constructor and Description |
---|
SaslStreamElements.Success(java.lang.String data)
Construct a new SASL success stream element with optional additional data for the SASL layer
(RFC6120 6.3.10)
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getData()
Returns additional data for the SASL layer or
null . |
XmlStringBuilder |
toXML()
Returns the XML representation of this Element.
|
public static final java.lang.String ELEMENT
public SaslStreamElements.Success(java.lang.String data)
data
- additional data for the SASL layer or null
public java.lang.String getData()
null
.null
public XmlStringBuilder toXML()
Element