Package de.sstoehr.harreader.model
Class HarLog
java.lang.Object
de.sstoehr.harreader.model.HarLog
Root object of exported data.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetPages()inthashCode()voidsetAdditionalField(String key, Object value) voidsetBrowser(HarCreatorBrowser browser) voidsetComment(String comment) voidsetCreator(HarCreatorBrowser creator) voidsetEntries(List<HarEntry> entries) voidvoidsetVersion(String version)
-
Field Details
-
DEFAULT_VERSION
- See Also:
-
-
Constructor Details
-
HarLog
public HarLog()
-
-
Method Details
-
getVersion
- Returns:
- Version number of the format.
Defaults to
DEFAULT_VERSION
-
setVersion
-
getCreator
- Returns:
- Information about the application used to generate HAR.
-
setCreator
-
getBrowser
- Returns:
- Information about the browser used.
-
setBrowser
-
getPages
- Returns:
- List of all exported pages, may be empty.
-
setPages
-
getEntries
- Returns:
- List of all exported requests, may be empty.
-
setEntries
-
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()
-