class HttpDownloadResult
source · line 63public
public class HttpDownloadResult internal constructor(
/**
* The committed destination path.
*/
public val path: Path,
/**
* The final response URL.
*/
public val url: Url,
/**
* The successful final response head.
*/
public val head: HttpResponseHead,
/**
* Complete response trailers after body consumption.
*/
public val trailers: Array<HttpField>,
/**
* The complete committed file byte count.
*/
public val byteCount: Long,
/**
* Bytes reused from the previous partial download.
*/
public val resumedBytes: Long = 0L
)
A completed download with committed path, final response metadata, total bytes, and reused-prefix count.
property byteCount
source · line 83public
public val byteCount: Long
get: public read-only
The complete committed file byte count.
property path
source · line 67public
public val path: Path
get: public read-only
The committed destination path.
property resumedBytes
source · line 87public
public val resumedBytes: Long = 0L
get: public read-only
Bytes reused from the previous partial download.
property trailers
source · line 79public
public val trailers: Array<HttpField>
get: public read-only
Complete response trailers after body consumption.
property url
source · line 71public
public val url: Url
get: public read-only
The final response URL.
property head
source · line 75public
public val head: HttpResponseHead
get: public read-only
The successful final response head.