Module swim.ws
Package swim.ws

Class WsDecoder

    • Constructor Detail

      • WsDecoder

        public WsDecoder()
    • Method Detail

      • fragment

        public <T> WsFrame<T> fragment​(WsOpcode opcode,
                                       swim.codec.Decoder<T> content)
      • message

        public <T> WsFrame<T> message​(T value)
      • control

        public <P,​T> WsFrame<T> control​(WsOpcode opcode,
                                              P payload)
      • 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)
      • continuationDecoder

        public <T> swim.codec.Decoder<T> continuationDecoder​(swim.codec.Decoder<T> content)
      • textDecoder

        public <T> swim.codec.Decoder<T> textDecoder​(swim.codec.Decoder<T> content)
      • binaryDecoder

        public <T> swim.codec.Decoder<T> binaryDecoder​(swim.codec.Decoder<T> content)
      • closeDecoder

        public <T> swim.codec.Decoder<?> closeDecoder​(swim.codec.Decoder<T> content)
      • pingDecoder

        public <T> swim.codec.Decoder<?> pingDecoder​(swim.codec.Decoder<T> content)
      • pongDecoder

        public <T> swim.codec.Decoder<?> pongDecoder​(swim.codec.Decoder<T> content)
      • frameDecoder

        public <T> swim.codec.Decoder<WsFrame<T>> frameDecoder​(swim.codec.Decoder<T> content)
      • decodeFrame

        public <T> swim.codec.Decoder<WsFrame<T>> decodeFrame​(swim.codec.Decoder<T> content,
                                                              swim.codec.InputBuffer input)
      • decodeFrame

        public <T> swim.codec.Decoder<WsFrame<T>> decodeFrame​(int finRsvOp,
                                                              swim.codec.Decoder<T> content,
                                                              swim.codec.InputBuffer input)
      • decodeContinuationFrame

        public <T> swim.codec.Decoder<WsFrame<T>> decodeContinuationFrame​(int finRsvOp,
                                                                          swim.codec.Decoder<T> content,
                                                                          swim.codec.InputBuffer input)
      • decodeTextFrame

        public <T> swim.codec.Decoder<WsFrame<T>> decodeTextFrame​(int finRsvOp,
                                                                  swim.codec.Decoder<T> content,
                                                                  swim.codec.InputBuffer input)
      • decodeBinaryFrame

        public <T> swim.codec.Decoder<WsFrame<T>> decodeBinaryFrame​(int finRsvOp,
                                                                    swim.codec.Decoder<T> content,
                                                                    swim.codec.InputBuffer input)
      • decodeCloseFrame

        public <P,​T> swim.codec.Decoder<WsFrame<T>> decodeCloseFrame​(int finRsvOp,
                                                                           swim.codec.Decoder<P> content,
                                                                           swim.codec.InputBuffer input)
      • decodePingFrame

        public <P,​T> swim.codec.Decoder<WsFrame<T>> decodePingFrame​(int finRsvOp,
                                                                          swim.codec.Decoder<P> content,
                                                                          swim.codec.InputBuffer input)
      • decodePongFrame

        public <P,​T> swim.codec.Decoder<WsFrame<T>> decodePongFrame​(int finRsvOp,
                                                                          swim.codec.Decoder<P> content,
                                                                          swim.codec.InputBuffer input)