- java.lang.Object
-
- swim.ws.WsDecoder
-
- Direct Known Subclasses:
WsDeflateDecoder
,WsStandardDecoder
public abstract class WsDecoder extends Object
-
-
Constructor Summary
Constructors Constructor Description WsDecoder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Decoder<T>
binaryDecoder(Decoder<T> content)
<P,T>
WsFrame<T>close(P payload)
<T> Decoder<?>
closeDecoder(Decoder<T> content)
<T> Decoder<T>
continuationDecoder(Decoder<T> content)
<P,T>
WsFrame<T>control(WsOpcode opcode, P payload)
<T> Decoder<WsFrame<T>>
decodeBinaryFrame(int finRsvOp, Decoder<T> content, InputBuffer input)
<P,T>
Decoder<WsFrame<T>>decodeCloseFrame(int finRsvOp, Decoder<P> content, InputBuffer input)
<T> Decoder<WsFrame<T>>
decodeContinuationFrame(int finRsvOp, Decoder<T> content, InputBuffer input)
<T> Decoder<WsFrame<T>>
decodeFrame(int finRsvOp, Decoder<T> content, InputBuffer input)
<T> Decoder<WsFrame<T>>
decodeFrame(Decoder<T> content, InputBuffer input)
<P,T>
Decoder<WsFrame<T>>decodePingFrame(int finRsvOp, Decoder<P> content, InputBuffer input)
<P,T>
Decoder<WsFrame<T>>decodePongFrame(int finRsvOp, Decoder<P> content, InputBuffer input)
<T> Decoder<WsFrame<T>>
decodeTextFrame(int finRsvOp, Decoder<T> content, InputBuffer input)
<T> WsFrame<T>
fragment(WsOpcode opcode, Decoder<T> content)
<T> Decoder<WsFrame<T>>
frameDecoder(Decoder<T> content)
<T> WsFrame<T>
message(T value)
<P,T>
WsFrame<T>ping(P payload)
<T> Decoder<?>
pingDecoder(Decoder<T> content)
<P,T>
WsFrame<T>pong(P payload)
<T> Decoder<?>
pongDecoder(Decoder<T> content)
<T> Decoder<T>
textDecoder(Decoder<T> content)
-
-
-
Method Detail
-
message
public <T> WsFrame<T> message(T value)
-
close
public <P,T> WsFrame<T> close(P payload)
-
ping
public <P,T> WsFrame<T> ping(P payload)
-
pong
public <P,T> WsFrame<T> pong(P payload)
-
decodeFrame
public <T> Decoder<WsFrame<T>> decodeFrame(Decoder<T> content, InputBuffer input)
-
decodeFrame
public <T> Decoder<WsFrame<T>> decodeFrame(int finRsvOp, Decoder<T> content, InputBuffer input)
-
decodeContinuationFrame
public <T> Decoder<WsFrame<T>> decodeContinuationFrame(int finRsvOp, Decoder<T> content, InputBuffer input)
-
decodeTextFrame
public <T> Decoder<WsFrame<T>> decodeTextFrame(int finRsvOp, Decoder<T> content, InputBuffer input)
-
decodeBinaryFrame
public <T> Decoder<WsFrame<T>> decodeBinaryFrame(int finRsvOp, Decoder<T> content, InputBuffer input)
-
decodeCloseFrame
public <P,T> Decoder<WsFrame<T>> decodeCloseFrame(int finRsvOp, Decoder<P> content, InputBuffer input)
-
decodePingFrame
public <P,T> Decoder<WsFrame<T>> decodePingFrame(int finRsvOp, Decoder<P> content, InputBuffer input)
-
decodePongFrame
public <P,T> Decoder<WsFrame<T>> decodePongFrame(int finRsvOp, Decoder<P> content, InputBuffer input)
-
-