- java.lang.Object
-
- swim.ws.WsFrame<T>
-
- swim.ws.WsFragment<T>
-
-
Method Summary
Modifier and Type Method Description Decoder<T>contentDecoder()Encoder<?,?>contentEncoder(WsEncoder ws)voiddebug(Output<?> output)Writes a developer readable, debug-formatted string representation of this object tooutput.Encoder<?,?>encodeContent(OutputBuffer<?> output, WsEncoder ws)static <T> WsFragment<T>from(WsOpcode opcode, Decoder<T> content)Tget()booleanisDefined()WsOpcodeopcode()Objectpayload()StringtoString()
-
-
-
Method Detail
-
from
public static <T> WsFragment<T> from(WsOpcode opcode, Decoder<T> content)
-
contentEncoder
public Encoder<?,?> contentEncoder(WsEncoder ws)
- Specified by:
contentEncoderin classWsFrame<T>
-
encodeContent
public Encoder<?,?> encodeContent(OutputBuffer<?> output, WsEncoder ws)
- Specified by:
encodeContentin classWsFrame<T>
-
debug
public void debug(Output<?> output)
Description copied from interface:DebugWrites a developer readable, debug-formatted string representation of this object tooutput.
-
-