class WebSocketFrame implements Frame {

    public WebSocketFrame setFin(boolean fin) {
        // set bit 1
        this.finRsvOp = (byte) ((finRsvOp & 0x7F) | (fin ? 0x80 : 0x00));
        return this;
    }

    protected  WebSocketFrame(byte opcode);

}