Class EchoStream

java.lang.Object
java.io.OutputStream
ru.vyarus.dropwizard.guice.test.util.io.EchoStream
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

public class EchoStream extends OutputStream
Stream duplicates all writes into two streams. Used to write all output into console together with aggregation into separate stream (to be able to inspect output as string).
Since:
20.11.2023