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

Method close

java/org/apache/jasper/runtime/JspWriterImpl.java:160–172  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

158 }
159
160 @Override
161 public void close() throws IOException {
162 if (response == null || closed) {
163 // multiple calls to close is OK
164 return;
165 }
166 flush();
167 if (out != null) {
168 out.close();
169 }
170 out = null;
171 closed = true;
172 }
173
174 @Override
175 public int getRemaining() {

Callers

nothing calls this directly

Calls 2

flushMethod · 0.95
closeMethod · 0.65

Tested by

no test coverage detected