- java.lang.Object
-
- swim.ws.WsFrame<T>
-
- swim.ws.WsFragment<T>
-
- All Implemented Interfaces:
swim.codec.Debug
public final class WsFragment<T> extends WsFrame<T> implements swim.codec.Debug
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description swim.codec.Decoder<T>contentDecoder()swim.codec.Encoder<?,?>contentEncoder(WsEncoder ws)voiddebug(swim.codec.Output<?> output)swim.codec.Encoder<?,?>encodeContent(swim.codec.OutputBuffer<?> output, WsEncoder ws)static <T> WsFragment<T>from(WsOpcode opcode, swim.codec.Decoder<T> content)Tget()booleanisDefined()WsOpcodeopcode()Objectpayload()StringtoString()
-
-
-
Method Detail
-
contentEncoder
public swim.codec.Encoder<?,?> contentEncoder(WsEncoder ws)
- Specified by:
contentEncoderin classWsFrame<T>
-
encodeContent
public swim.codec.Encoder<?,?> encodeContent(swim.codec.OutputBuffer<?> output, WsEncoder ws)- Specified by:
encodeContentin classWsFrame<T>
-
contentDecoder
public swim.codec.Decoder<T> contentDecoder()
-
debug
public void debug(swim.codec.Output<?> output)
- Specified by:
debugin interfaceswim.codec.Debug
-
from
public static <T> WsFragment<T> from(WsOpcode opcode, swim.codec.Decoder<T> content)
-
-