MCPcopy Index your code
hub / github.com/apache/tomcat / newFrame

Method newFrame

java/org/apache/tomcat/websocket/WsFrameBase.java:628–641  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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() {

Callers 5

processDataControlMethod · 0.95
processDataTextMethod · 0.95
processDataBinaryMethod · 0.95
newMessageMethod · 0.95
swallowInputMethod · 0.95

Calls 4

checkRoomHeadersMethod · 0.95
remainingMethod · 0.80
positionMethod · 0.80
limitMethod · 0.45

Tested by

no test coverage detected