HttpCacheStorage
abstract class HttpCacheStorage
Cache storage interface.
Constructors
HttpCacheStorage() Cache storage interface. |
Functions
abstract fun find( Find valid entry in cache storage with additional varyKeys. |
|
abstract fun findByUrl(url: Url): Set<HttpCacheEntry> Find all matched HttpCacheEntry for url. |
|
abstract fun store(url: Url, value: HttpCacheEntry): Unit |
Companion Object Properties
val Disabled: HttpCacheStorage Disabled cache always empty and store nothing. |
|
val Unlimited: () -> HttpCacheStorage Default unlimited cache storage. |