Class FileAsyncRequestBody

    • Method Detail

      • path

        public Path path()
      • fileLength

        public long fileLength()
      • chunkSizeInBytes

        public int chunkSizeInBytes()
      • position

        public long position()
      • numBytesToRead

        public long numBytesToRead()
      • subscribe

        public void subscribe​(org.reactivestreams.Subscriber<? super ByteBuffer> s)
        Specified by:
        subscribe in interface org.reactivestreams.Publisher<ByteBuffer>
      • body

        public String body()
        Description copied from interface: AsyncRequestBody
        Each AsyncRequestBody should return a well-formed name that can be used to identify the implementation. The body name should only include alphanumeric characters.
        Specified by:
        body in interface AsyncRequestBody
        Returns:
        String containing the identifying name of this AsyncRequestBody implementation.