Interface SubAsyncRequestBody

    • Method Detail

      • send

        void send​(ByteBuffer byteBuffer)
        Send a byte buffer.

        This method must not be invoked concurrently.

      • complete

        void complete()
        Indicate that no more send(ByteBuffer) )} calls will be made, and that stream of messages is completed successfully.
      • maxLength

        long maxLength()
        The maximum length of the content this AsyncRequestBody can hold. If the upstream content length is known, this should be the same as receivedBytesLength
      • receivedBytesLength

        long receivedBytesLength()
        The length of the bytes received
      • partNumber

        int partNumber()
        The part number associated with this SubAsyncRequestBody
        Returns: