java.lang.Object
swim.ws.WsDecoder
- Direct Known Subclasses:
WsDeflateDecoder
,WsStandardDecoder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> Decoder<T>
binaryDecoder
(Decoder<T> payloadDecoder) <T> WsBinaryFrame<T>
binaryFrame
(T payloadValue) <T> Decoder<?>
closeDecoder
(Decoder<T> payloadDecoder) <P,
T> WsCloseFrame<P, T> closeFrame
(P payloadValue) continuationDecoder
(WsOpcode frameType, Decoder<T> payloadDecoder) <P,
T> WsControlFrame<P, T> controlFrame
(WsOpcode frameType, P payloadValue) <T> WsDataFrame<T>
decodeBinaryFrame
(InputBuffer input, int finRsvOp, Decoder<T> payloadDecoder) decodeCloseFrame
(InputBuffer input, int finRsvOp, Decoder<P> payloadDecoder) decodeContinuation
(InputBuffer input, WsOpcode frameType, Decoder<T> payloadDecoder) decodeContinuationFrame
(InputBuffer input, int finRsvOp, WsOpcode frameType, Decoder<T> payloadDecoder) decodeFinRsvOp
(InputBuffer input, int finRsvOp, WsOpcode frameType, Decoder<T> payloadDecoder) decodeMessage
(InputBuffer input, Decoder<T> payloadDecoder) decodePingFrame
(InputBuffer input, int finRsvOp, Decoder<P> payloadDecoder) decodePongFrame
(InputBuffer input, int finRsvOp, Decoder<P> payloadDecoder) decodeTextFrame
(InputBuffer input, int finRsvOp, Decoder<T> payloadDecoder) <T> WsFrame<T>
fragmentFrame
(WsOpcode frameType, Decoder<T> payloadDecoder) messageDecoder
(Decoder<T> payloadDecoder) <T> Decoder<?>
pingDecoder
(Decoder<T> payloadDecoder) <P,
T> WsPingFrame<P, T> pingFrame
(P payloadValue) <T> Decoder<?>
pongDecoder
(Decoder<T> payloadDecoder) <P,
T> WsPongFrame<P, T> pongFrame
(P payloadValue) <T> Decoder<T>
textDecoder
(Decoder<T> payloadDecoder) <T> WsTextFrame<T>
textFrame
(T payloadValue)
-
Constructor Details
-
WsDecoder
public WsDecoder()
-
-
Method Details
-
fragmentFrame
-
dataFrame
-
textFrame
-
binaryFrame
-
controlFrame
-
closeFrame
-
pingFrame
-
pongFrame
-
textDecoder
-
binaryDecoder
-
closeDecoder
-
pingDecoder
-
pongDecoder
-
messageDecoder
-
decodeMessage
-
continuationDecoder
-
decodeContinuation
public <T> Decoder<WsFrame<T>> decodeContinuation(InputBuffer input, WsOpcode frameType, Decoder<T> payloadDecoder) -
decodeFinRsvOp
public <T> Decoder<WsFrame<T>> decodeFinRsvOp(InputBuffer input, int finRsvOp, WsOpcode frameType, Decoder<T> payloadDecoder) -
decodeContinuationFrame
public <T> Decoder<WsFrame<T>> decodeContinuationFrame(InputBuffer input, int finRsvOp, WsOpcode frameType, Decoder<T> payloadDecoder) -
decodeTextFrame
public <T> Decoder<WsFrame<T>> decodeTextFrame(InputBuffer input, int finRsvOp, Decoder<T> payloadDecoder) -
decodeBinaryFrame
public <T> Decoder<WsFrame<T>> decodeBinaryFrame(InputBuffer input, int finRsvOp, Decoder<T> payloadDecoder) -
decodeCloseFrame
public <P,T> Decoder<WsFrame<T>> decodeCloseFrame(InputBuffer input, int finRsvOp, Decoder<P> payloadDecoder) -
decodePingFrame
public <P,T> Decoder<WsFrame<T>> decodePingFrame(InputBuffer input, int finRsvOp, Decoder<P> payloadDecoder) -
decodePongFrame
public <P,T> Decoder<WsFrame<T>> decodePongFrame(InputBuffer input, int finRsvOp, Decoder<P> payloadDecoder)
-