HttpOutputBuffer (Apache Tomcat 9.0.22 API Documentation)

org.apache.coyote.http11

## Interface HttpOutputBuffer

- All Superinterfaces:
    OutputBuffer
  All Known Subinterfaces:
    OutputFilter
  All Known Implementing Classes:
    ChunkedOutputFilter, GzipOutputFilter, Http11OutputBuffer, Http11OutputBuffer.SocketOutputBuffer, Http2OutputBuffer, IdentityOutputFilter, VoidOutputFilter

      public interface HttpOutputBuffer
      extends OutputBuffer

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `end()` Finish writing the current response.
    `void` | `flush()` Flushes any unwritten data to the client.

    - ### Methods inherited from interface org.apache.coyote.OutputBuffer

      `doWrite, getBytesWritten`

- - ### Method Detail

    - #### end

          void end()
            throws java.io.IOException

      Finish writing the current response. It is acceptable to write extra bytes using `OutputBuffer.doWrite(java.nio.ByteBuffer)` during the execution of this method.
      Throws:
        `java.io.IOException` - If an I/O error occurs while writing to the client

    - #### flush

          void flush()
              throws java.io.IOException

      Flushes any unwritten data to the client.
      Throws:
        `java.io.IOException` - If an I/O error occurs while flushing

Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.