MCPcopy Create free account
hub / github.com/apache/tomcat / toReadMode

Method toReadMode

java/org/apache/catalina/connector/OutputBuffer.java:915–917  ·  view source on GitHub ↗
(Buffer buffer)

Source from the content-addressed store, hash-verified

913 }
914
915 private void toReadMode(Buffer buffer) {
916 buffer.limit(buffer.position()).reset();
917 }
918
919 private void toWriteMode(Buffer buffer) {
920 buffer.mark().position(buffer.limit()).limit(buffer.capacity());

Callers 1

transferMethod · 0.95

Calls 3

positionMethod · 0.80
resetMethod · 0.65
limitMethod · 0.45

Tested by

no test coverage detected