Class JettyWebSocketFrame

  • All Implemented Interfaces:

    public class JettyWebSocketFrame
    extends java.lang.Object
    implements Frame
    • Constructor Detail

      • JettyWebSocketFrame

        public JettyWebSocketFrame​(Frame frame)
    • Method Detail

      • getMask

        public byte[] getMask()
        Specified by:
        getMask in interface Frame
      • getOpCode

        public byte getOpCode()
        Specified by:
        getOpCode in interface Frame
      • getPayload

        public java.nio.ByteBuffer getPayload()
        Specified by:
        getPayload in interface Frame
      • getPayloadLength

        public int getPayloadLength()
        Description copied from interface: Frame
        The original payload length (Buffer.remaining())
        Specified by:
        getPayloadLength in interface Frame
        the original payload length (Buffer.remaining())
      • hasPayload

        public boolean hasPayload()
        Specified by:
        hasPayload in interface Frame
      • isFin

        public boolean isFin()
        Specified by:
        isFin in interface Frame
      • isMasked

        public boolean isMasked()
        Specified by:
        isMasked in interface Frame
      • isRsv1

        public boolean isRsv1()
        Specified by:
        isRsv1 in interface Frame
      • isRsv2

        public boolean isRsv2()
        Specified by:
        isRsv2 in interface Frame
      • isRsv3

        public boolean isRsv3()
        Specified by:
        isRsv3 in interface Frame
      • toString

        public java.lang.String toString()
        toString in class java.lang.Object