public class GZipPostProcessor extends AbstractDeflaterPostProcessor
GZIPOutputStream to compress the message body.
Sets MessageProperties.SPRING_AUTO_DECOMPRESS to
true by default.loggerHIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| Constructor and Description |
|---|
GZipPostProcessor() |
GZipPostProcessor(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 GZipPostProcessor()
public GZipPostProcessor(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