| Package | Description |
|---|---|
| com.ibm.cos.v2.core | |
| com.ibm.cos.v2.core.internal.metrics | |
| com.ibm.cos.v2.core.sync | |
| com.ibm.cos.v2.http |
| Constructor and Description |
|---|
ResponseInputStream(ResponseT resp,
AbortableInputStream in) |
| Constructor and Description |
|---|
BytesReadTrackingInputStream(AbortableInputStream in,
AtomicLong bytesRead) |
| Modifier and Type | Method and Description |
|---|---|
ReturnT |
ResponseTransformer.transform(ResponseT response,
AbortableInputStream inputStream)
Process the response contents.
|
| Modifier and Type | Method and Description |
|---|---|
AbortableInputStream |
SdkHttpFullResponse.Builder.content()
The content, exactly as it was configured with
SdkHttpFullResponse.Builder.content(AbortableInputStream). |
static AbortableInputStream |
AbortableInputStream.create(InputStream delegate)
Creates an instance of
AbortableInputStream that ignores abort. |
static AbortableInputStream |
AbortableInputStream.create(InputStream delegate,
Abortable abortable)
Creates an instance of
AbortableInputStream. |
static AbortableInputStream |
AbortableInputStream.createEmpty() |
| Modifier and Type | Method and Description |
|---|---|
Optional<AbortableInputStream> |
SdkHttpFullResponse.content()
Returns the optional stream containing the payload data returned by the service.
|
Optional<AbortableInputStream> |
HttpExecuteResponse.responseBody()
Get the
AbortableInputStream associated with this response. |
| Modifier and Type | Method and Description |
|---|---|
SdkHttpFullResponse.Builder |
SdkHttpFullResponse.Builder.content(AbortableInputStream content)
Configure an
SdkHttpFullResponse.content() to be used in the HTTP response. |
HttpExecuteResponse.Builder |
HttpExecuteResponse.Builder.responseBody(AbortableInputStream inputStream)
Set the
InputStream to be returned by the client. |
Copyright © 2026. All rights reserved.