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

Method getContentLength

java/org/apache/coyote/Request.java:664–671  ·  view source on GitHub ↗

Return the content length. @return the content length

()

Source from the content-addressed store, hash-verified

662 * @return the content length
663 */
664 public int getContentLength() {
665 long length = getContentLengthLong();
666
667 if (length < Integer.MAX_VALUE) {
668 return (int) length;
669 }
670 return -1;
671 }
672
673 /**
674 * Return the content length as a long.

Callers

nothing calls this directly

Calls 1

getContentLengthLongMethod · 0.95

Tested by

no test coverage detected