Interface StreamRewriter

    • Method Detail

      • rewriteContent

        InputStream rewriteContent​(String file,
                                   InputStream in)
                            throws Exception
        Load the incoming stream and return a new stream for rewritten content. The rewriter can consume the incoming stream fully until EOF.
        Parameters:
        file - name of the file
        in - Incoming content
        Returns:
        Replacement stream e.g the incoming stream
        Throws:
        Exception