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

Method dump

java/org/apache/coyote/ajp/AjpMessage.java:364–380  ·  view source on GitHub ↗
(String prefix)

Source from the content-addressed store, hash-verified

362
363
364 private void dump(String prefix) {
365 if (log.isTraceEnabled()) {
366 log.trace(prefix + ": " + HexUtils.toHexString(buf) + " " + pos + "/" + (len + 4));
367 }
368 int max = pos;
369 if (len + 4 > pos) {
370 max = len + 4;
371 }
372 if (max > 1000) {
373 max = 1000;
374 }
375 if (log.isTraceEnabled()) {
376 for (int j = 0; j < max; j += 16) {
377 log.trace(hexLine(buf, j, len));
378 }
379 }
380 }
381
382
383 private void validatePos(int posToTest) {

Callers 2

checkOverflowMethod · 0.95
processHeaderMethod · 0.95

Calls 4

toHexStringMethod · 0.95
hexLineMethod · 0.95
isTraceEnabledMethod · 0.65
traceMethod · 0.65

Tested by

no test coverage detected