Class WebSocketFrame

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private ChannelBuffer binaryData
      Contents of this frame
      private boolean finalFragment
      Flag to indicate if this frame is the final fragment in a message.
      private int rsv
      RSV1, RSV2, RSV3 used for extensions
    • Constructor Summary

      Constructors 
      Constructor Description
      WebSocketFrame()  
    • Field Detail

      • finalFragment

        private boolean finalFragment
        Flag to indicate if this frame is the final fragment in a message. The first fragment (frame) may also be the final fragment.
      • rsv

        private int rsv
        RSV1, RSV2, RSV3 used for extensions
      • binaryData

        private ChannelBuffer binaryData
        Contents of this frame
    • Constructor Detail

      • WebSocketFrame

        public WebSocketFrame()
    • Method Detail

      • getBinaryData

        public ChannelBuffer getBinaryData()
        Returns binary data
      • setBinaryData

        public void setBinaryData​(ChannelBuffer binaryData)
        Sets the binary data for this frame
      • isFinalFragment

        public boolean isFinalFragment()
        Flag to indicate if this frame is the final fragment in a message. The first fragment (frame) may also be the final fragment.
      • setFinalFragment

        public void setFinalFragment​(boolean finalFragment)
      • getRsv

        public int getRsv()
        Bits used for extensions to the standard.
      • setRsv

        public void setRsv​(int rsv)