Class AbstractDeflaterPostProcessor

java.lang.Object
org.springframework.amqp.support.postprocessor.AbstractCompressingPostProcessor
org.springframework.amqp.support.postprocessor.AbstractDeflaterPostProcessor
All Implemented Interfaces:
MessagePostProcessor, Ordered
Direct Known Subclasses:
DeflaterPostProcessor, GZipPostProcessor, ZipPostProcessor

public abstract class AbstractDeflaterPostProcessor extends AbstractCompressingPostProcessor
Base class for post processors based on Deflater.
Since:
1.4.2
Author:
Gary Russell
  • 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 (default Deflater.BEST_SPEED
      See Also:
    • getLevel

      public int getLevel()
      Get the deflater compression level.
      Returns:
      the level.