Package de.sstoehr.harreader.model
Class HarLog
java.lang.Object
de.sstoehr.harreader.model.HarLog
public class HarLog extends Object
Root object of exported data.
- See Also:
- specification
-
Field Summary
Fields Modifier and Type Field Description protected static StringDEFAULT_VERSION -
Constructor Summary
Constructors Constructor Description HarLog() -
Method Summary
Modifier and Type Method Description booleanequals(Object o)HarCreatorBrowsergetBrowser()StringgetComment()HarCreatorBrowsergetCreator()List<HarEntry>getEntries()List<HarPage>getPages()StringgetVersion()inthashCode()voidsetBrowser(HarCreatorBrowser browser)voidsetComment(String comment)voidsetCreator(HarCreatorBrowser creator)voidsetEntries(List<HarEntry> entries)voidsetPages(List<HarPage> pages)voidsetVersion(String version)
-
Field Details
-
DEFAULT_VERSION
- See Also:
- Constant Field Values
-
-
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
-
equals
-
hashCode
public int hashCode()
-