Class GzipOutputFilter.FakeOutputStream
java.lang.Object
java.io.OutputStream
org.apache.coyote.http11.filters.GzipOutputFilter.FakeOutputStream
- All Implemented Interfaces:
Closeable, Flushable, AutoCloseable
- Enclosing class:
GzipOutputFilter
Internal output stream that writes data to the underlying buffer.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ByteBufferSingle-byte buffer used for writing individual bytes. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class OutputStream
nullOutputStream, write
-
Field Details
-
outputChunk
Single-byte buffer used for writing individual bytes.
-
-
Constructor Details
-
FakeOutputStream
public FakeOutputStream()Constructs a new FakeOutputStream.
-
-
Method Details
-
write
- Specified by:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
flush
- Specified by:
flushin interfaceFlushable- Overrides:
flushin classOutputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream- Throws:
IOException
-