Class Variant
- java.lang.Object
-
- org.apache.hc.client5.http.impl.cache.Variant
-
class Variant extends java.lang.ObjectRecords a set of information describing a cached variant.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringcacheKeyprivate HttpCacheEntryentry
-
Constructor Summary
Constructors Constructor Description Variant(java.lang.String cacheKey, HttpCacheEntry entry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetCacheKey()HttpCacheEntrygetEntry()java.lang.StringtoString()
-
-
-
Field Detail
-
cacheKey
private final java.lang.String cacheKey
-
entry
private final HttpCacheEntry entry
-
-
Constructor Detail
-
Variant
public Variant(java.lang.String cacheKey, HttpCacheEntry entry)
-
-
Method Detail
-
getCacheKey
public java.lang.String getCacheKey()
-
getEntry
public HttpCacheEntry getEntry()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-