- 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)
boolean
equals(Object other)
int
hashCode()
WsOpcode
opcode()
P
payload()
String
toString()
-
-
-
Method Detail
-
contentEncoder
public Encoder<?,?> contentEncoder(WsEncoder ws)
- Specified by:
contentEncoder
in classWsFrame<T>
-
encodeContent
public Encoder<?,?> encodeContent(OutputBuffer<?> output, WsEncoder ws)
- Specified by:
encodeContent
in classWsFrame<T>
-
debug
public <T> Output<T> debug(Output<T> output)
Description copied from interface:Debug
Writes 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)
-
-