Http Tile Source
Base for TileSource implementations that fetch bytes over HTTP. Owns one lazily-built HttpClient so subclasses only have to provide a URL for (z, x, y).
The status interpretation is the contract all WorldWind tile sources share:
2xxnon-empty body → TileBlob withETag/Last-Modifiedcaptured.2xxempty body → TileBlob.EMPTY (server explicitly returned no bytes).304→nullso the caller keeps its cached copy.404→ TileBlob.EMPTY (negative-cache sentinel).Anything else →
error()so the surrounding decorator's backoff loop fires.
Subclasses translate (z, x, y) into a URL and call fetchTileBlob. They never need to touch the client directly.
Inheritors
Constructors
Functions
Download every tile that intersects sector across every level whose resolution falls in resolution — typically used by "save a region for offline use" flows. Returns the launched Job so the caller can cancel mid-download.
Cache-only fast-path read for (z, x, y). Default returns null — a plain network source has no cache to consult. Cache-backed sources override to read their store without going through the network-fetch concurrency budget.