Interface AsyncRequestBodySplitConfiguration.Builder

    • Method Detail

      • chunkSizeInBytes

        AsyncRequestBodySplitConfiguration.Builder chunkSizeInBytes​(Long chunkSizeInBytes)
        Configures the size for each divided chunk. The last chunk may be smaller than the configured size. The default value is 2MB.
        Parameters:
        chunkSizeInBytes - the chunk size in bytes
        Returns:
        This object for method chaining.
      • bufferSizeInBytes

        AsyncRequestBodySplitConfiguration.Builder bufferSizeInBytes​(Long bufferSizeInBytes)
        The maximum buffer size the SDK will use to buffer the content from the source SdkPublisher. The default value is 8MB.
        Parameters:
        bufferSizeInBytes - the buffer size in bytes
        Returns:
        This object for method chaining.