HttpCacheStorage

abstract class HttpCacheStorage

Deprecated (with error)

Use new [CacheStorage] instead.

Cache storage interface.

Constructors

Link copied to clipboard
constructor()

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.