private class HTTPRedirectDeflateEncoder.NoWrapAutoEndDeflaterOutputStream extends DeflaterOutputStream
DeflaterOutputStream which defaults in a no-wrap Deflater instance and
closes it when the stream is closed.buf, defout| Constructor and Description |
|---|
HTTPRedirectDeflateEncoder.NoWrapAutoEndDeflaterOutputStream(OutputStream os,
int level)
Creates a new output stream with a default no-wrap compressor and buffer size,
and the specified compression level.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
deflate, finish, flush, write, writewritepublic HTTPRedirectDeflateEncoder.NoWrapAutoEndDeflaterOutputStream(OutputStream os, int level)
os - the output streamlevel - the compression level (0-9)public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class DeflaterOutputStreamIOExceptionCopyright © 1999–2020 Shibboleth Consortium. All rights reserved.