static SubAsyncRequestBodyConfiguration.Builder |
SubAsyncRequestBodyConfiguration.builder() |
|
SubAsyncRequestBodyConfiguration.Builder |
SubAsyncRequestBodyConfiguration.Builder.contentLengthKnown(Boolean contentLengthKnown) |
Sets whether the content length is known.
|
SubAsyncRequestBodyConfiguration.Builder |
SubAsyncRequestBodyConfiguration.Builder.maxLength(Long maxLength) |
Sets the maximum length of the content this AsyncRequestBody can hold.
|
SubAsyncRequestBodyConfiguration.Builder |
SubAsyncRequestBodyConfiguration.Builder.onNumBytesConsumed(Consumer<Long> onNumBytesConsumed) |
Sets the callback to be invoked when bytes are consumed.
|
SubAsyncRequestBodyConfiguration.Builder |
SubAsyncRequestBodyConfiguration.Builder.onNumBytesReceived(Consumer<Long> onNumBytesReceived) |
Sets the callback to be invoked when bytes are received.
|
SubAsyncRequestBodyConfiguration.Builder |
SubAsyncRequestBodyConfiguration.Builder.partNumber(Integer partNumber) |
Sets the part number for this request body.
|
SubAsyncRequestBodyConfiguration.Builder |
SubAsyncRequestBodyConfiguration.Builder.sourceBodyName(String sourceBodyName) |
Sets the source body name for identification.
|