-
- All Implemented Interfaces:
-
software.amazon.awssdk.core.async.AsyncResponseTransformer
public final class FileAsyncHandler implements AsyncResponseTransformer<GetObjectResponse, WriteResult>
-
-
Constructor Summary
Constructors Constructor Description FileAsyncHandler(Path path, Long startingLength, Long lastPageStart, BufferedDataWriter.MutablePage lastPage)
-
Method Summary
Modifier and Type Method Description UnitresponseReceived(GetObjectResponse response)UnitonStream(Publisher<ByteBuffer> publisher)UnitexceptionOccurred(Throwable throwable)WriteResultcomplete()-
-
Method Detail
-
responseReceived
Unit responseReceived(GetObjectResponse response)
-
onStream
Unit onStream(Publisher<ByteBuffer> publisher)
-
exceptionOccurred
Unit exceptionOccurred(Throwable throwable)
-
complete
WriteResult complete()
-
-
-
-