Class DefaultGzipProcessor

    • Constructor Detail

      • DefaultGzipProcessor

        public DefaultGzipProcessor()
    • Method Detail

      • processContent

        public InputStream processContent​(InputStream source,
                                          ProcessorContext context)
                                   throws IOException
        Description copied from interface: ClientlibProcessor
        Transforms the content and result in a stream with the probably changed content - for pipes.
        Specified by:
        processContent in interface ClientlibProcessor
        Parameters:
        source - the original to process by the processor. the processor returns a different stream, this must be closed by the processor.
        Returns:
        the transformation result - might also be the originial sourceStream if switched off
        Throws:
        IOException