public interface AsyncResponseHandler<ResponseT,ResultT> extends TeaResponseHandler
| 限定符和类型 | 方法和说明 |
|---|---|
void |
onStream(org.reactivestreams.Publisher<ByteBuffer> publisher) |
static <ResponseT> |
toBytes() |
static <ResponseT> |
toFile(File file) |
static <ResponseT> |
toFile(Path path) |
ResultT |
transform(ResponseT response) |
void onStream(org.reactivestreams.Publisher<ByteBuffer> publisher)
static <ResponseT> AsyncResponseHandler<ResponseT,ResponseT> toFile(Path path)
static <ResponseT> AsyncResponseHandler<ResponseT,ResponseT> toFile(File file)
static <ResponseT> AsyncResponseHandler<ResponseT,ResponseBytes<ResponseT>> toBytes()
Copyright © 2023. All rights reserved.