Class CompressionFilter

    • Constructor Detail

      • CompressionFilter

        public CompressionFilter()
        Deprecated.
    • Method Detail

      • getInputStream

        public InputStream getInputStream​(InputStream stream)
        Deprecated.
        Requests an InputStream that wraps the passed InputStream.
        Specified by:
        getInputStream in interface WrapperStreamFactory
        Parameters:
        stream - the java.io.InputStream to be wrapped
        Returns:
        an InputStream that delegates to ("wraps") the passed InputStream
      • getOutputStream

        public OutputStream getOutputStream​(OutputStream stream)
        Deprecated.
        Requests an OutputStream that wraps the passed OutputStream.
        Specified by:
        getOutputStream in interface WrapperStreamFactory
        Parameters:
        stream - the java.io.OutputStream to be wrapped
        Returns:
        an OutputStream that delegates to ("wraps") the passed OutputStream
      • getConfig

        public XmlElement getConfig()
        Deprecated.
        Determine the current configuration of the object.
        Specified by:
        getConfig in interface XmlConfigurable
        Returns:
        the XML configuration or null
      • setConfig

        public void setConfig​(XmlElement xml)
        Deprecated.
        Specify the configuration for the object.
        Specified by:
        setConfig in interface XmlConfigurable
        Parameters:
        xml - the XML configuration for the object
        Throws:
        IllegalStateException - if the object is not in a state that allows the configuration to be set; for example, if the object has already been configured and cannot be reconfigured