Class Variant
- java.lang.Object
-
- org.apache.hc.client5.http.impl.cache.Variant
-
class Variant extends java.lang.Object
Records a set of information describing a cached variant.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
cacheKey
private HttpCacheEntry
entry
-
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.String
getCacheKey()
HttpCacheEntry
getEntry()
java.lang.String
toString()
-
-
-
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:
toString
in classjava.lang.Object
-
-