public final class Mechanisms extends StreamFeature implements ServerStreamElement
<mechanisms/> element as described in Exchange of Stream Headers and Stream Features| Constructor and Description |
|---|
Mechanisms() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getMechanisms()
Gets the list of mechanisms supported by the server.
|
int |
getPriority()
Gets the priority of the feature, i.e. when it will be negotiated during feature negotiation.
|
boolean |
isMandatory()
|
compareTopublic List<String> getMechanisms()
public boolean isMandatory()
The parties to a stream MUST consider SASL as mandatory-to-negotiate.
isMandatory in class StreamFeaturepublic int getPriority()
StreamFeaturegetPriority in class StreamFeatureCopyright © 2014 XMPP.rocks. All rights reserved.