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

Method flow

java/org/apache/catalina/util/IOTools.java:48–53  ·  view source on GitHub ↗

Read input from reader and write it to writer until there is no more input from reader. @param reader the reader to read from. @param writer the writer to write to. @param buf the char array to use as a buffer @throws IOException IO error

(Reader reader, Writer writer, char[] buf)

Source from the content-addressed store, hash-verified

46 * @throws IOException IO error
47 */
48 public static void flow(Reader reader, Writer writer, char[] buf) throws IOException {
49 int numRead;
50 while ((numRead = reader.read(buf)) >= 0) {
51 writer.write(buf, 0, numRead);
52 }
53 }
54
55 /**
56 * Read input from reader and write it to writer until there is no more input from reader.

Callers 15

runMethod · 0.95
doPostMethod · 0.95
doPostMethod · 0.95
doPostMethod · 0.95
doGetMethod · 0.95
doGetMethod · 0.95
parametersMethod · 0.95
parametersMethod · 0.95
testListenerMethod · 0.95
testServletMethod · 0.95

Calls 2

readMethod · 0.65
writeMethod · 0.65

Tested by 13

runMethod · 0.76
doPostMethod · 0.76
doPostMethod · 0.76
doPostMethod · 0.76
doGetMethod · 0.76
doGetMethod · 0.76
parametersMethod · 0.76
parametersMethod · 0.76
testListenerMethod · 0.76
testServletMethod · 0.76