()
| 626 | |
| 627 | |
| 628 | private void newFrame() { |
| 629 | if (inputBuffer.remaining() == 0) { |
| 630 | inputBuffer.position(0).limit(0); |
| 631 | } |
| 632 | |
| 633 | maskIndex = 0; |
| 634 | payloadWritten = 0; |
| 635 | state = State.NEW_FRAME; |
| 636 | |
| 637 | // These get reset in processInitialHeader() |
| 638 | // fin, rsv, opCode, payloadLength, mask |
| 639 | |
| 640 | checkRoomHeaders(); |
| 641 | } |
| 642 | |
| 643 | |
| 644 | private void checkRoomHeaders() { |
no test coverage detected