public final class CompressionFeature extends StreamFeature
<compression/> element in the http://jabber.org/features/compress namespace.
This class is immutable.
| Constructor and Description |
|---|
CompressionFeature(Collection<String> methods) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getMethods()
Gets the available compression methods.
|
int |
getPriority()
Gets the priority of the feature, i.e. when it will be negotiated during feature negotiation.
|
String |
toString() |
compareTo, isMandatorypublic CompressionFeature(Collection<String> methods)
public final List<String> getMethods()
public final int getPriority()
StreamFeaturegetPriority in class StreamFeatureCopyright © 2014–2016 XMPP.rocks. All rights reserved.