public final class StartTls extends StreamFeature implements StreamElement
In order to begin the STARTTLS negotiation, the initiating entity issues the STARTTLS command (i.e., a
<starttls/>element qualified by the 'urn:ietf:params:xml:ns:xmpp-tls' namespace) to instruct the receiving entity that it wishes to begin a STARTTLS negotiation to secure the stream.
This class is unconditionally thread-safe.
| Modifier and Type | Method and Description |
|---|---|
int |
getPriority()
Gets the priority of the feature, i.e. when it will be negotiated during feature negotiation.
|
boolean |
isMandatory()
Indicates, whether this feature is mandatory to negotiate.
|
void |
setMandatory(boolean mandatory) |
String |
toString() |
compareTopublic final boolean isMandatory()
StreamFeatureisMandatory in class StreamFeaturepublic final void setMandatory(boolean mandatory)
public final int getPriority()
StreamFeaturegetPriority in class StreamFeatureCopyright © 2014–2018 XMPP.rocks. All rights reserved.