HttpCacheStorage

abstract class HttpCacheStorage

Cache storage interface.

Constructors

Link copied to clipboard
fun HttpCacheStorage()

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract fun find(url: Url, varyKeys: Map<String, String>): HttpCacheEntry?

Find valid entry in cache storage with additional varyKeys.

Link copied to clipboard
abstract fun findByUrl(url: Url): Set<HttpCacheEntry>

Find all matched HttpCacheEntry for url.

Link copied to clipboard
abstract fun store(url: Url, value: HttpCacheEntry)

Store value in cache storage for url key.