Class InputStreamAdapter

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable

    public class InputStreamAdapter
    extends java.io.InputStream
    INTERNAL API InputStreamAdapter that interacts with InputStreamSinkStage
    • Method Detail

      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Overrides:
        close in class java.io.InputStream
        Throws:
        java.io.IOException
      • detachedChunk

        public scala.Option<ByteString> detachedChunk()
      • detachedChunk_$eq

        public void detachedChunk_$eq​(scala.Option<ByteString> x$1)
      • isActive

        public boolean isActive()
      • isActive_$eq

        public void isActive_$eq​(boolean x$1)
      • isInitialized

        public boolean isInitialized()
      • isInitialized_$eq

        public void isInitialized_$eq​(boolean x$1)
      • isStageAlive

        public boolean isStageAlive()
      • isStageAlive_$eq

        public void isStageAlive_$eq​(boolean x$1)
      • read

        public int read()
                 throws java.io.IOException
        Specified by:
        read in class java.io.InputStream
        Throws:
        java.io.IOException
      • read

        public int read​(byte[] a)
                 throws java.io.IOException
        Overrides:
        read in class java.io.InputStream
        Throws:
        java.io.IOException
      • read

        public int read​(byte[] a,
                        int begin,
                        int length)
                 throws java.io.IOException
        Overrides:
        read in class java.io.InputStream
        Throws:
        java.io.IOException
      • subscriberClosedException

        public java.io.IOException subscriberClosedException()