Class AbstractDeflaterPostProcessor
java.lang.Object
org.springframework.amqp.support.postprocessor.AbstractCompressingPostProcessor
org.springframework.amqp.support.postprocessor.AbstractDeflaterPostProcessor
- All Implemented Interfaces:
MessagePostProcessor, org.springframework.core.Ordered
- Direct Known Subclasses:
DeflaterPostProcessor, GZipPostProcessor, ZipPostProcessor
Base class for post processors based on
Deflater.- Since:
- 1.4.2
-
Field Summary
Fields inherited from class AbstractCompressingPostProcessor
loggerFields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AbstractCompressingPostProcessor
getCompressorStream, getEncoding, getOrder, postProcessMessage, setCopyProperties, setEncodingDelimiter, setOrderMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface MessagePostProcessor
postProcessMessage, postProcessMessage
-
Constructor Details
-
AbstractDeflaterPostProcessor
public AbstractDeflaterPostProcessor() -
AbstractDeflaterPostProcessor
public AbstractDeflaterPostProcessor(boolean autoDecompress)
-
-
Method Details
-
setLevel
public void setLevel(int level) Set the deflater compression level.- Parameters:
level- the level (defaultDeflater.BEST_SPEED- See Also:
-
getLevel
public int getLevel()Get the deflater compression level.- Returns:
- the level.
-