Class PersistentInputStream

java.lang.Object
java.io.InputStream
java.io.FilterInputStream
org.sblim.cimclient.internal.http.io.PersistentInputStream
All Implemented Interfaces:
Closeable, AutoCloseable

public class PersistentInputStream extends FilterInputStream
Class PersistentInputStream implements an input stream for which close() can be disabled.
  • Constructor Details

    • PersistentInputStream

      public PersistentInputStream(InputStream pStream)
      Ctor.
      Parameters:
      pStream - The underlying stream
    • PersistentInputStream

      public PersistentInputStream(InputStream pStream, boolean pClosable)
      Ctor.
      Parameters:
      pStream - The underlying stream
      pClosable - If false this stream will ignore calls to the close() method.
  • Method Details