- java.lang.Object
-
- swim.ws.WsFrame<T>
-
- swim.ws.WsControlFrame<P,T>
-
- swim.ws.WsPingFrame<P,T>
-
- All Implemented Interfaces:
Debug
public final class WsPingFrame<P,T> extends WsControlFrame<P,T> implements Debug
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T> WsPingFrame<ByteBuffer,T>
create(ByteBuffer payloadValue)
static <P,T>
WsPingFrame<P,T>create(P payloadValue)
static <P,T>
WsPingFrame<P,T>create(P payloadValue, Encoder<?,?> payloadEncoder)
static <T> WsPingFrame<Data,T>
create(Data payloadValue)
<T> Output<T>
debug(Output<T> output)
Writes a developer readable, debug-formatted string representation of this object tooutput
.static <P,T>
WsPingFrame<P,T>empty()
boolean
equals(Object other)
WsOpcode
frameType()
int
hashCode()
Encoder<?,?>
payloadEncoder(WsEncoder ws)
P
payloadValue()
String
toString()
-
-
-
Method Detail
-
payloadValue
public P payloadValue()
- Specified by:
payloadValue
in classWsControlFrame<P,T>
-
payloadEncoder
public Encoder<?,?> payloadEncoder(WsEncoder ws)
- Specified by:
payloadEncoder
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> WsPingFrame<P,T> empty()
-
create
public static <P,T> WsPingFrame<P,T> create(P payloadValue, Encoder<?,?> payloadEncoder)
-
create
public static <P,T> WsPingFrame<P,T> create(P payloadValue)
-
create
public static <T> WsPingFrame<ByteBuffer,T> create(ByteBuffer payloadValue)
-
create
public static <T> WsPingFrame<Data,T> create(Data payloadValue)
-
-