Package de.sstoehr.harreader.model
Class HarCache.HarCacheInfo
java.lang.Object
de.sstoehr.harreader.model.HarCache.HarCacheInfo
- Enclosing class:
- HarCache
Information about a request coming from browser cache.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangeteTag()inthashCode()voidsetAdditionalField(String key, Object value) voidsetComment(String comment) voidvoidsetExpires(Date expires) voidsetHitCount(Integer hitCount) voidsetLastAccess(Date lastAccess)
-
Constructor Details
-
HarCacheInfo
public HarCacheInfo()
-
-
Method Details
-
getExpires
- Returns:
- Expiration time of entry, null if not present.
-
setExpires
-
getLastAccess
- Returns:
- Last time the entry was opened, null if not present.
-
setLastAccess
-
geteTag
- Returns:
- ETag, null if not present.
-
seteTag
-
getHitCount
- Returns:
- Number of times the entry has been opened, null if not present.
-
setHitCount
-
getComment
- Returns:
- Comment provided by the user or application, null if not present.
-
setComment
-
getAdditional
- Returns:
- Map with additional keys, which are not officially supported by the HAR specification
-
setAdditionalField
-
equals
-
hashCode
public int hashCode()
-