public class ZipPostProcessor extends AbstractDeflaterPostProcessor
ZipOutputStream to compress the
message body. Sets MessageProperties.SPRING_AUTO_DECOMPRESS to true
by default.level| Constructor and Description |
|---|
ZipPostProcessor() |
ZipPostProcessor(boolean autoDecompress) |
| Modifier and Type | Method and Description |
|---|---|
protected OutputStream |
getCompressorStream(OutputStream zipped)
Get the stream.
|
protected String |
getEncoding()
Get the encoding.
|
setLevelgetOrder, postProcessMessage, setOrderclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpostProcessMessagepublic ZipPostProcessor()
public ZipPostProcessor(boolean autoDecompress)
protected OutputStream getCompressorStream(OutputStream zipped) throws IOException
AbstractCompressingPostProcessorgetCompressorStream in class AbstractCompressingPostProcessorzipped - The output stream to write the compressed data to.IOException - IOExceptionprotected String getEncoding()
AbstractCompressingPostProcessorgetEncoding in class AbstractCompressingPostProcessor