Modifier and Type | Method and Description |
---|---|
static <ResponseT> |
AsyncResponseTransformer.toBytes()
Creates an
AsyncResponseTransformer that writes all content to a byte array. |
static <ResponseT> |
AsyncResponseTransformer.toFile(File file)
Creates an
AsyncResponseTransformer that writes all the content to the given file. |
static <ResponseT> |
AsyncResponseTransformer.toFile(Path path)
Creates an
AsyncResponseTransformer that writes all the content to the given file. |
Modifier and Type | Method and Description |
---|---|
<InputT extends SdkRequest,OutputT extends SdkResponse,ReturnT> |
AsyncClientHandler.execute(ClientExecutionParams<InputT,OutputT> executionParams,
AsyncResponseTransformer<OutputT,ReturnT> asyncResponseTransformer)
Execute's a streaming web service request.
|
Modifier and Type | Class and Description |
---|---|
class |
ByteArrayAsyncResponseTransformer<ResponseT>
Implementation of
AsyncResponseTransformer that dumps content into a byte array and supports further
conversions into types, like strings. |
class |
FileAsyncResponseTransformer<ResponseT>
AsyncResponseTransformer that writes the data to the specified file. |
Modifier and Type | Method and Description |
---|---|
<InputT extends SdkRequest,OutputT extends SdkResponse,ReturnT> |
BaseAsyncClientHandler.execute(ClientExecutionParams<InputT,OutputT> executionParams,
AsyncResponseTransformer<OutputT,ReturnT> asyncResponseTransformer) |
Constructor and Description |
---|
AsyncStreamingResponseHandler(AsyncResponseTransformer<OutputT,ReturnT> asyncResponseTransformer) |
Copyright © 2021. All rights reserved.