Class StreamCompression.Failure
- java.lang.Object
-
- rocks.xmpp.extensions.compress.model.StreamCompression
-
- rocks.xmpp.extensions.compress.model.StreamCompression.Failure
-
- All Implemented Interfaces:
StreamElement
- Enclosing class:
- StreamCompression
public static final class StreamCompression.Failure extends StreamCompression
The implementation of the<failure/>
element in thehttp://jabber.org/protocol/compress
namespace, which indicates failure during compression negotiation.This class is immutable.
- See Also:
- XEP-0138: Stream Compression, XML Schema
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
StreamCompression.Failure.Condition
An abstract base class for a compression failure condition.-
Nested classes/interfaces inherited from class rocks.xmpp.extensions.compress.model.StreamCompression
StreamCompression.Compress, StreamCompression.Failure
-
-
Field Summary
-
Fields inherited from class rocks.xmpp.extensions.compress.model.StreamCompression
COMPRESSED, NAMESPACE
-
-
Constructor Summary
Constructors Constructor Description Failure(StreamCompression.Failure.Condition condition)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StreamCompression.Failure.Condition
getCondition()
Gets the failure condition.
-
-
-
Constructor Detail
-
Failure
public Failure(StreamCompression.Failure.Condition condition)
-
-
Method Detail
-
getCondition
public final StreamCompression.Failure.Condition getCondition()
Gets the failure condition.- Returns:
- The condition.
- See Also:
StreamCompression.Failure.UnsupportedMethod
,StreamCompression.Failure.SetupFailed
,StreamCompression.Failure.ProcessingFailed
-
-