TileByteResponse

class TileByteResponse(val statusCode: Int, val bytes: ByteArray, val finalUrl: String, val contentType: String? = null, val etag: String? = null, val statusMessage: String? = null)

One fetch result — the subset of an HTTP response the queue uses. Archive sources set statusCode 200/404, finalUrl = the request uri, and null metadata.

Constructors

Link copied to clipboard
constructor(statusCode: Int, bytes: ByteArray, finalUrl: String, contentType: String? = null, etag: String? = null, statusMessage: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val etag: String?
Link copied to clipboard

URL the body was actually served from (post-redirect for HTTP; == request uri for archives).

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Reason phrase for a non-success status, surfaced in HttpStatusException. Null for archives.