Scoop API

scoop:scoop.http.client:0.1.0

HttpCacheKey

class HttpCacheKey

source · line 76
public
public class HttpCacheKey public constructor(
    /**
     * The cache isolation partition.
     */
    public val partition: String,
        /**
         * The normalized request URL used as the storage key.
         */
        public val url: String,
        /**
         * The request identity component separating authenticated variants.
         */
        public val identity: String
) : Equals<HttpCacheKey>, Hash

The cache partition, normalized URL, and request identity used to separate representations.

property identity

source · line 88
public
public val identity: String

get: public read-only

The request identity component separating authenticated variants.

property partition

source · line 80
public
public val partition: String

get: public read-only

The cache isolation partition.

function hash

source · line 98
public
public override fun hash(): Long

Hashes all three components consistently with equality.

property url

source · line 84
public
public val url: String

get: public read-only

The normalized request URL used as the storage key.