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

Method setBufferSize

java/jakarta/servlet/ServletResponse.java:252–252  ·  view source on GitHub ↗

Sets the preferred buffer size for the body of the response. The servlet container will use a buffer at least as large as the size requested. The actual buffer size used can be found using getBufferSize . A larger buffer allows more content to be written before anything is actually s

(int size)

Source from the content-addressed store, hash-verified

250 * @see #reset
251 */
252 void setBufferSize(int size);
253
254 /**
255 * Returns the actual buffer size used for the response. If no buffering is used, this method returns 0.

Callers 10

writeToGZipMethod · 0.65
doGetMethod · 0.65
serviceMethod · 0.65
doGetMethod · 0.65
setBufferSizeMethod · 0.65
setBufferSizeMethod · 0.65
setBufferSizeMethod · 0.65
setBufferSizeMethod · 0.65
serveResourceMethod · 0.65
setBufferSizeMethod · 0.65

Implementers 4

ServletResponseWrapperjava/jakarta/servlet/ServletResponseWr
TesterHttpServletResponsetest/org/apache/catalina/filters/Teste
Responsejava/org/apache/catalina/connector/Res
ResponseFacadejava/org/apache/catalina/connector/Res

Calls

no outgoing calls

Tested by 3

doGetMethod · 0.52
serviceMethod · 0.52
doGetMethod · 0.52