MCPcopy Create free account
hub / github.com/apache/thrift / writeTo

Method writeTo

lib/js/test/src/test/Httpd.java:130–134  ·  view source on GitHub ↗
(final OutputStream outstream)

Source from the content-addressed store, hash-verified

128 EntityTemplate body = new EntityTemplate(new ContentProducer() {
129
130 public void writeTo(final OutputStream outstream) throws IOException {
131 OutputStreamWriter writer = new OutputStreamWriter(outstream, "UTF-8");
132 writer.write(output);
133 writer.flush();
134 }
135
136 });
137 body.setContentType("text/html; charset=UTF-8");

Callers

nothing calls this directly

Calls 3

writeMethod · 0.65
flushMethod · 0.45
getPathMethod · 0.45

Tested by

no test coverage detected