- 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> payloadDecoder)
<T> WsBinaryFrame<T>
binaryFrame(T payloadValue)
<T> Decoder<?>
closeDecoder(Decoder<T> payloadDecoder)
<P,T>
WsCloseFrame<P,T>closeFrame(P payloadValue)
<T> Decoder<WsFrame<T>>
continuationDecoder(WsOpcode frameType, Decoder<T> payloadDecoder)
<P,T>
WsControlFrame<P,T>controlFrame(WsOpcode frameType, P payloadValue)
<T> WsDataFrame<T>
dataFrame(WsOpcode frameType, T payloadValue)
<T> Decoder<WsFrame<T>>
decodeBinaryFrame(InputBuffer input, int finRsvOp, Decoder<T> payloadDecoder)
<P,T>
Decoder<WsFrame<T>>decodeCloseFrame(InputBuffer input, int finRsvOp, Decoder<P> payloadDecoder)
<T> Decoder<WsFrame<T>>
decodeContinuation(InputBuffer input, WsOpcode frameType, Decoder<T> payloadDecoder)
<T> Decoder<WsFrame<T>>
decodeContinuationFrame(InputBuffer input, int finRsvOp, WsOpcode frameType, Decoder<T> payloadDecoder)
<T> Decoder<WsFrame<T>>
decodeFinRsvOp(InputBuffer input, int finRsvOp, WsOpcode frameType, Decoder<T> payloadDecoder)
<T> Decoder<WsFrame<T>>
decodeMessage(InputBuffer input, Decoder<T> payloadDecoder)
<P,T>
Decoder<WsFrame<T>>decodePingFrame(InputBuffer input, int finRsvOp, Decoder<P> payloadDecoder)
<P,T>
Decoder<WsFrame<T>>decodePongFrame(InputBuffer input, int finRsvOp, Decoder<P> payloadDecoder)
<T> Decoder<WsFrame<T>>
decodeTextFrame(InputBuffer input, int finRsvOp, Decoder<T> payloadDecoder)
<T> WsFrame<T>
fragmentFrame(WsOpcode frameType, Decoder<T> payloadDecoder)
<T> Decoder<WsFrame<T>>
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)
-
-
-
Method Detail
-
dataFrame
public <T> WsDataFrame<T> dataFrame(WsOpcode frameType, T payloadValue)
-
textFrame
public <T> WsTextFrame<T> textFrame(T payloadValue)
-
binaryFrame
public <T> WsBinaryFrame<T> binaryFrame(T payloadValue)
-
controlFrame
public <P,T> WsControlFrame<P,T> controlFrame(WsOpcode frameType, P payloadValue)
-
closeFrame
public <P,T> WsCloseFrame<P,T> closeFrame(P payloadValue)
-
pingFrame
public <P,T> WsPingFrame<P,T> pingFrame(P payloadValue)
-
pongFrame
public <P,T> WsPongFrame<P,T> pongFrame(P payloadValue)
-
decodeMessage
public <T> Decoder<WsFrame<T>> decodeMessage(InputBuffer input, Decoder<T> payloadDecoder)
-
continuationDecoder
public <T> Decoder<WsFrame<T>> continuationDecoder(WsOpcode frameType, Decoder<T> payloadDecoder)
-
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)
-
-