public final class AsyncRequestBodyFromInputStreamConfiguration extends Object implements ToCopyableBuilder<AsyncRequestBodyFromInputStreamConfiguration.Builder,AsyncRequestBodyFromInputStreamConfiguration>
AsyncRequestBody.fromInputStream(AsyncRequestBodyFromInputStreamConfiguration)
to configure how the SDK should create an AsyncRequestBody
from an InputStream
.Modifier and Type | Class and Description |
---|---|
static interface |
AsyncRequestBodyFromInputStreamConfiguration.Builder |
Modifier and Type | Method and Description |
---|---|
static AsyncRequestBodyFromInputStreamConfiguration.Builder |
builder()
Create a
AsyncRequestBodyFromInputStreamConfiguration.Builder , used to create a AsyncRequestBodyFromInputStreamConfiguration . |
Long |
contentLength() |
boolean |
equals(Object o) |
ExecutorService |
executor() |
int |
hashCode() |
InputStream |
inputStream() |
Integer |
maxReadLimit() |
AsyncRequestBodyFromInputStreamConfiguration.Builder |
toBuilder() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
copy
public InputStream inputStream()
InputStream
.public Long contentLength()
public ExecutorService executor()
ExecutorService
.public Integer maxReadLimit()
InputStream
).public static AsyncRequestBodyFromInputStreamConfiguration.Builder builder()
AsyncRequestBodyFromInputStreamConfiguration.Builder
, used to create a AsyncRequestBodyFromInputStreamConfiguration
.public AsyncRequestBodyFromInputStreamConfiguration.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<AsyncRequestBodyFromInputStreamConfiguration.Builder,AsyncRequestBodyFromInputStreamConfiguration>
Copyright © 2023. All rights reserved.