- java.lang.Object
-
- swim.ws.WsFrame<T>
-
- swim.ws.WsControl<P,T>
-
- swim.ws.WsPong<P,T>
-
-
Method Summary
Modifier and Type Method Description Encoder<?,?>contentEncoder(WsEncoder ws)voiddebug(Output<?> output)Writes a developer readable, debug-formatted string representation of this object tooutput.static <P,T>
WsPong<P,T>empty()Encoder<?,?>encodeContent(OutputBuffer<?> output, WsEncoder ws)booleanequals(Object other)static <T> WsPong<ByteBuffer,T>from(ByteBuffer payload)static <P,T>
WsPong<P,T>from(P payload)static <P,T>
WsPong<P,T>from(P payload, Encoder<?,?> content)static <T> WsPong<Data,T>from(Data payload)inthashCode()WsOpcodeopcode()Ppayload()StringtoString()
-
-
-
Method Detail
-
empty
public static <P,T> WsPong<P,T> empty()
-
from
public static <P,T> WsPong<P,T> from(P payload)
-
from
public static <T> WsPong<ByteBuffer,T> from(ByteBuffer payload)
-
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.
-
-