Class CacheAndWriteOutputStream

  • All Implemented Interfaces:
    Closeable, Flushable, AutoCloseable

    public class CacheAndWriteOutputStream
    extends CachedOutputStream
    This outputstream implementation will both write to the outputstream that is specified and cache the data at the same time. This allows us to go back and retransmit the data at a later time if necessary.