- assertFrameValidvoid assertFrameValid(WebSocketFrame frame) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- configureFromExtensionsvoid configureFromExtensions(Extension[] exts) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- generateHeaderBytesByteBuffer generateHeaderBytes(WebSocketFrame frame) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- generateHeaderBytesvoid generateHeaderBytes(WebSocketFrame frame, ByteBuffer buffer) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- generateWholeFramevoid generateWholeFrame(WebSocketFrame frame, ByteBuffer buf) 
- Generate the whole frame (header + payload copy) into a single ByteBuffer.
<p>
Note: This is slow, moves lots of memory around. Only use this if you must (such as in unit testing). 
- isRsv1InUsebool isRsv1InUse() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- isRsv2InUsebool isRsv2InUse() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- isRsv3InUsebool isRsv3InUse() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- setRsv1InUsevoid setRsv1InUse(bool rsv1InUse) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- setRsv2InUsevoid setRsv2InUse(bool rsv2InUse) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- setRsv3InUsevoid setRsv3InUse(bool rsv3InUse) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- toStringstring toString() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
Generating a frame in WebSocket land. <p> <pre> 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-------+-+-------------+-------------------------------+ |F|R|R|R| opcode|M| Payload len | Extended payload length | |I|S|S|S| (4) |A| (7) | (16/64) | |N|V|V|V| |S| | (if payload len==126/127) | | |1|2|3| |K| | | +-+-+-+-+-------+-+-------------+ - - - - - - - - - - - - - - - + | Extended payload length continued, if payload len == 127 | + - - - - - - - - - - - - - - - +-------------------------------+ | |Masking-key, if MASK set to 1 | +-------------------------------+-------------------------------+ | Masking-key (continued) | Payload Data | +-------------------------------- - - - - - - - - - - - - - - - + : Payload Data continued ... : + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + | Payload Data continued ... | +---------------------------------------------------------------+ </pre>