- java.lang.Object
-
- swim.ws.WsEncoder
-
- swim.ws.WsDeflateEncoder
-
public abstract class WsDeflateEncoder extends WsEncoder
-
-
Constructor Summary
Constructors Constructor Description WsDeflateEncoder(Deflate<?> deflate, int flush)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Encoder<?,WsFrame<T>>
binaryFrameEncoder(WsFrame<T> frame)
Deflate<?>
deflate()
<T> Encoder<?,WsFrame<T>>
encodeBinaryFrame(OutputBuffer<?> output, WsFrame<T> frame)
<T> Encoder<?,WsFrame<T>>
encodeTextFrame(OutputBuffer<?> output, WsFrame<T> frame)
int
flush()
<T> Encoder<?,WsFrame<T>>
textFrameEncoder(WsFrame<T> frame)
-
Methods inherited from class swim.ws.WsEncoder
closeFrameEncoder, encodeCloseFrame, encodeFrame, encodePingFrame, encodePongFrame, frameEncoder, isMasked, maskingKey, minDataFrameBufferSize, pingFrameEncoder, pongFrameEncoder
-
-
-
-
Field Detail
-
deflate
protected final Deflate<?> deflate
-
flush
protected final int flush
-
-
Constructor Detail
-
WsDeflateEncoder
public WsDeflateEncoder(Deflate<?> deflate, int flush)
-
-
Method Detail
-
deflate
public final Deflate<?> deflate()
-
flush
public final int flush()
-
textFrameEncoder
public <T> Encoder<?,WsFrame<T>> textFrameEncoder(WsFrame<T> frame)
- Overrides:
textFrameEncoder
in classWsEncoder
-
encodeTextFrame
public <T> Encoder<?,WsFrame<T>> encodeTextFrame(OutputBuffer<?> output, WsFrame<T> frame)
- Overrides:
encodeTextFrame
in classWsEncoder
-
binaryFrameEncoder
public <T> Encoder<?,WsFrame<T>> binaryFrameEncoder(WsFrame<T> frame)
- Overrides:
binaryFrameEncoder
in classWsEncoder
-
encodeBinaryFrame
public <T> Encoder<?,WsFrame<T>> encodeBinaryFrame(OutputBuffer<?> output, WsFrame<T> frame)
- Overrides:
encodeBinaryFrame
in classWsEncoder
-
-