Class StreamWrapper


  • public class StreamWrapper
    extends java.lang.Object
    • Method Detail

      • getStream

        public java.io.InputStream getStream()
      • getSize

        public long getSize()
      • closeStream

        public void closeStream()
      • resetStream

        public boolean resetStream()
        Resets the internal InputStream that it could be re-read.
        Is used from ConnectionHelper.RetryManager if a SQLException has occurred.
        It relies on the assumption that the InputStream was not marked anywhere during reading.
        Returns:
        returns true if it was able to reset the Stream