@Override public void end() throws IOException { buffer.end(); } }
@Override public void end() throws IOException { next.end(); }
@Override public void end() throws IOException { buffer.end(); }
@Override public void end() throws IOException { if (compressionStream == null) { compressionStream = new GZIPOutputStream(fakeOutputStream, true); } compressionStream.finish(); compressionStream.close(); buffer.end(); }
@Override public void end() throws IOException { if (responseFinished) { return; } if (lastActiveFilter == -1) { outputStreamOutputBuffer.end(); } else { activeFilters[lastActiveFilter].end(); } responseFinished = true; }
@Override protected final void finishResponse() throws IOException { sendfileState = handler.processSendfile(sendfileData); if (!(sendfileState == SendfileState.PENDING)) { stream.getOutputBuffer().end(); } }
crlfChunk.position(0).limit(crlfChunk.capacity()); buffer.end();
if (sendfile.left == 0) { try { sendfile.stream.getOutputBuffer().end(); } catch (IOException e) { failed(e, sendfile);