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

Method getContentLengthLong

java/jakarta/servlet/ServletRequest.java:130–130  ·  view source on GitHub ↗

Returns the length, in bytes, of the request body and made available by the input stream, or -1 if the length is not known. For HTTP servlets, same as the value of the CGI variable CONTENT_LENGTH. @return a long integer containing the length of the request body or -1 if the length is not known @si

()

Source from the content-addressed store, hash-verified

128 * @since Servlet 3.1
129 */
130 long getContentLengthLong();
131
132 /**
133 * Returns the MIME type of the body of the request, or <code>null</code> if the type is not known. For HTTP

Callers 15

serviceMethod · 0.65
doGetMethod · 0.65
useCompressionMethod · 0.65
checkMaxSwallowSizeMethod · 0.65
prepareInputFiltersMethod · 0.65
prepareResponseMethod · 0.65
setRequestMethod · 0.65
setResponseMethod · 0.65
receivedDataMethod · 0.65
receivedEndOfStreamMethod · 0.65
prepareHeadersMethod · 0.65

Implementers 4

ServletRequestWrapperjava/jakarta/servlet/ServletRequestWra
TesterHttpServletRequesttest/org/apache/catalina/filters/Teste
Requestjava/org/apache/catalina/connector/Req
RequestFacadejava/org/apache/catalina/connector/Req

Calls

no outgoing calls

Tested by 2

serviceMethod · 0.52
doGetMethod · 0.52