Interface WriterInterceptor

    • Method Detail

      • process

        void process​(StreamElement streamElement,
                     Writer writer,
                     WriterInterceptorChain chain)
              throws Exception
        The stream element which will be written.
        Parameters:
        streamElement - The stream element which will be written.
        writer - The writer to which the stream element is written.
        chain - The writer chain, which allows to proceed to the next interceptor.
        Throws:
        Exception - Any exception happening during interception.