Class InputStreamSubscriber

    • Constructor Detail

      • InputStreamSubscriber

        public InputStreamSubscriber()
    • Method Detail

      • onSubscribe

        public void onSubscribe​(org.reactivestreams.Subscription s)
        Specified by:
        onSubscribe in interface org.reactivestreams.Subscriber<ByteBuffer>
      • onNext

        public void onNext​(ByteBuffer byteBuffer)
        Specified by:
        onNext in interface org.reactivestreams.Subscriber<ByteBuffer>
      • onError

        public void onError​(Throwable t)
        Specified by:
        onError in interface org.reactivestreams.Subscriber<ByteBuffer>
      • onComplete

        public void onComplete()
        Specified by:
        onComplete in interface org.reactivestreams.Subscriber<ByteBuffer>
      • read

        public int read​(byte[] b)
        Overrides:
        read in class InputStream
      • read

        public int read​(byte[] bytes,
                        int off,
                        int len)
        Overrides:
        read in class InputStream