private void verifyReservedBit3 ( WebSocketFrame frame ) throws WebSocketException { if ( frame . getRsv3 ( ) == false ) { // No problem. return ; } // The RSV3 bit of a frame is set unexpectedly. throw new WebSocketException ( WebSocketError . UNEXPECTED_RESERVED_BIT , "The RSV3 bit of a frame is set unexpectedly." ) ; }
Verify the RSV3 bit of a frame .