- 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)
void
debug(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)
boolean
equals(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)
int
hashCode()
WsOpcode
opcode()
P
payload()
String
toString()
-
-
-
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:
contentEncoder
in classWsFrame<T>
-
encodeContent
public Encoder<?,?> encodeContent(OutputBuffer<?> output, WsEncoder ws)
- Specified by:
encodeContent
in classWsFrame<T>
-
debug
public void debug(Output<?> output)
Description copied from interface:Debug
Writes a developer readable, debug-formatted string representation of this object tooutput
.
-
-