| Modifier and Type | Field and Description |
|---|---|
| private final Response | |
| private HttpOutputBuffer |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addFilter(OutputFilter
The filter to add to the start of the processing chain filter)Add a filter at the start of the existing processing chain. |
| public int | doWrite(ByteBuffer
data to write chunk)Implements org. Write the given data to the response. |
| public void | |
| public void | flush()
Implements org. Flushes any unwritten data to the client. |
| public long | getBytesWritten()
Implements org. Bytes written to the underlying socket. |
| coyoteResponse | back to summary |
|---|---|
| private final Response coyoteResponse | |
| next | back to summary |
|---|---|
| private HttpOutputBuffer next | |
| Http2OutputBuffer | back to summary |
|---|---|
| public Http2OutputBuffer(Response coyoteResponse, Stream. | |
| addFilter | back to summary |
|---|---|
| public void addFilter(OutputFilter filter) Add a filter at the start of the existing processing chain. Subsequent calls to the
| |
| doWrite | back to summary |
|---|---|
| public int doWrite(ByteBuffer chunk) throws IOException Implements org. Doc from org. Write the given data to the response. The caller owns the chunks.
| |
| end | back to summary |
|---|---|
| public void end() throws IOException Implements org. Doc from org. Finish writing the current response. It is acceptable to write extra bytes using
| |
| flush | back to summary |
|---|---|
| public void flush() throws IOException Implements org. Doc from org. Flushes any unwritten data to the client.
| |
| getBytesWritten | back to summary |
|---|---|
| public long getBytesWritten() Implements org. Doc from org. Bytes written to the underlying socket. This includes the effects of chunking, compression, etc.
| |