Class ResumableFileDownloadSerializer
- java.lang.Object
-
- software.amazon.awssdk.transfer.s3.internal.serialization.ResumableFileDownloadSerializer
-
public final class ResumableFileDownloadSerializer extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ResumableFileDownload
fromJson(byte[] bytes)
static ResumableFileDownload
fromJson(InputStream bytes)
static ResumableFileDownload
fromJson(String bytes)
static byte[]
toJson(ResumableFileDownload download)
Serializes an instance ofResumableFileDownload
into valid JSON.
-
-
-
Method Detail
-
toJson
public static byte[] toJson(ResumableFileDownload download)
Serializes an instance ofResumableFileDownload
into valid JSON. This object contains a nested GetObjectRequest and therefore makes use of the standard JSON marshalling classes.
-
fromJson
public static ResumableFileDownload fromJson(String bytes)
-
fromJson
public static ResumableFileDownload fromJson(byte[] bytes)
-
fromJson
public static ResumableFileDownload fromJson(InputStream bytes)
-
-