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

Method getOutputStream

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

Returns a ServletOutputStream suitable for writing binary data in the response. The servlet container does not encode the binary data. Calling flush() on the ServletOutputStream commits the response. Either this method or #getWriter may be called to write the body, not both. @re

()

Source from the content-addressed store, hash-verified

102 * @see #getWriter
103 */
104 ServletOutputStream getOutputStream() throws IOException;
105
106 /**
107 * Returns a <code>PrintWriter</code> object that can send character text to the client. The

Callers 15

runMethod · 0.95
doPostMethod · 0.65
doGetMethod · 0.65
doGetMethod · 0.65
createOutputStreamMethod · 0.65
postMultipartMethod · 0.65
writeMethod · 0.65
runMethod · 0.65
doPostMethod · 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 15

runMethod · 0.76
doGetMethod · 0.52
postMultipartMethod · 0.52
writeMethod · 0.52
runMethod · 0.52
doPostMethod · 0.52
doGetMethod · 0.52
doPostMethod · 0.52
doPostMethod · 0.52