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

Method ensureOpen

java/org/apache/jasper/runtime/JspWriterImpl.java:180–184  ·  view source on GitHub ↗

check to make sure that the stream has not been closed

()

Source from the content-addressed store, hash-verified

178
179 /** check to make sure that the stream has not been closed */
180 private void ensureOpen() throws IOException {
181 if (response == null || closed) {
182 throw new IOException(Localizer.getMessage("jsp.error.stream.closed"));
183 }
184 }
185
186
187 @Override

Callers 4

flushBufferMethod · 0.95
clearMethod · 0.95
clearBufferMethod · 0.95
writeMethod · 0.95

Calls 1

getMessageMethod · 0.95

Tested by

no test coverage detected