Package de.sstoehr.harreader.model
Class HarCache
java.lang.Object
de.sstoehr.harreader.model.HarCache
Information about a request coming from browser cache.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classInformation about a request coming from browser cache. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()voidsetAdditionalField(String key, Object value) voidsetAfterRequest(HarCache.HarCacheInfo afterRequest) voidsetBeforeRequest(HarCache.HarCacheInfo beforeRequest) voidsetComment(String comment)
-
Constructor Details
-
HarCache
public HarCache()
-
-
Method Details
-
getBeforeRequest
- Returns:
- State of the cache entry before the request, null if not present.
-
setBeforeRequest
-
getAfterRequest
- Returns:
- State of the cache entry after the request, null if not present.
-
setAfterRequest
-
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()
-