public class ZipPostProcessor extends AbstractDeflaterPostProcessor
ZipOutputStream to compress the message body. Sets
MessageProperties.SPRING_AUTO_DECOMPRESS to true
by default.loggerHIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| 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.
|
getLevel, setLevelgetOrder, postProcessMessage, setCopyProperties, 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