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

Method clearBuffer

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

Source from the content-addressed store, hash-verified

137 }
138
139 @Override
140 public void clearBuffer() throws IOException {
141 if (bufferSize == 0) {
142 throw new IllegalStateException(Localizer.getMessage("jsp.error.ise_on_clear"));
143 }
144 ensureOpen();
145 nextChar = 0;
146 }
147
148 private void bufferOverflow() throws IOException {
149 throw new IOException(Localizer.getMessage("jsp.error.overflow"));

Callers 1

resetBufferMethod · 0.45

Calls 2

getMessageMethod · 0.95
ensureOpenMethod · 0.95

Tested by

no test coverage detected