public class ZipPostProcessor extends AbstractDeflaterPostProcessor
ZipOutputStream to compress the message body. Sets
MessageProperties.SPRING_AUTO_DECOMPRESS to true
by default.logger| Constructor and Description |
|---|
ZipPostProcessor() |
ZipPostProcessor(boolean autoDecompress) |
| Modifier and Type | Method and Description |
|---|---|
protected java.io.OutputStream |
getCompressorStream(java.io.OutputStream zipped)
Get the stream.
|
protected java.lang.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 java.io.OutputStream getCompressorStream(java.io.OutputStream zipped)
throws java.io.IOException
AbstractCompressingPostProcessorgetCompressorStream in class AbstractCompressingPostProcessorzipped - The output stream to write the compressed data to.java.io.IOException - IOExceptionprotected java.lang.String getEncoding()
AbstractCompressingPostProcessorgetEncoding in class AbstractCompressingPostProcessor