- java.lang.Object
-
- swim.ws.WsFrame<T>
-
- swim.ws.WsControl<P,T>
-
- swim.ws.WsPong<P,T>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Encoder<?,?>contentEncoder(WsEncoder ws)static <T> WsPong<ByteBuffer,T>create(ByteBuffer payload)static <P,T>
WsPong<P,T>create(P payload)static <P,T>
WsPong<P,T>create(P payload, Encoder<?,?> content)static <T> WsPong<Data,T>create(Data payload)<T> Output<T>debug(Output<T> 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)inthashCode()WsOpcodeopcode()Ppayload()StringtoString()
-
-
-
Method Detail
-
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 <T> Output<T> debug(Output<T> output)
Description copied from interface:DebugWrites a developer readable, debug-formatted string representation of this object tooutput.
-
empty
public static <P,T> WsPong<P,T> empty()
-
create
public static <P,T> WsPong<P,T> create(P payload)
-
create
public static <T> WsPong<ByteBuffer,T> create(ByteBuffer payload)
-
-