public final class Success extends java.lang.Object implements StreamElement
The implementation of the <success/>
element, which indicates success during SASL negotiation.
The receiving entity reports success of the handshake by sending a
<success/>
element qualified by the ‘urn:ietf:params:xml:ns:xmpp-sasl’ namespace; this element MAY contain XML character data (in SASL terminology, “additional data with success”) if the chosen SASL mechanism supports or requires it.
This class is immutable.
Constructor and Description |
---|
Success() |
Success(byte[] additionalData) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getAdditionalData()
Gets additional data.
|
java.lang.String |
toString() |
public final byte[] getAdditionalData()
Gets additional data.
This element MAY contain XML character data (in SASL terminology, “additional data with success”) if the chosen SASL mechanism supports or requires it.
public final java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2014–2019 XMPP.rocks. All rights reserved.