Package de.sstoehr.harreader.model
Class HarEntry
java.lang.Object
de.sstoehr.harreader.model.HarEntry
Information about a single HTTP request.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetCache()getTime()inthashCode()voidsetAdditionalField(String key, Object value) voidvoidsetComment(String comment) voidsetConnection(String connection) voidsetPageref(String pageref) voidsetRequest(HarRequest request) voidsetResponse(HarResponse response) voidsetServerIPAddress(String serverIPAddress) voidsetStartedDateTime(Date startedDateTime) voidvoidsetTimings(HarTiming timings)
-
Constructor Details
-
HarEntry
public HarEntry()
-
-
Method Details
-
getPageref
- Returns:
- Reference to parent page, to which the request belongs to, null if not present.
-
setPageref
-
getStartedDateTime
- Returns:
- Start time of request, null if not present.
-
setStartedDateTime
-
getTime
- Returns:
- Total request time (in ms), null if not present.
-
setTime
-
getRequest
- Returns:
- Detailed request information.
-
setRequest
-
getResponse
- Returns:
- Detailed response information.
-
setResponse
-
getCache
- Returns:
- Information about cache usage.
-
setCache
-
getTimings
- Returns:
- Detailed information about request/response timings.
-
setTimings
-
getServerIPAddress
- Returns:
- Server IP address (result of DNS resolution), null if not present.
-
setServerIPAddress
-
getConnection
- Returns:
- Unique ID of TCP/IP connection, null if not present.
-
setConnection
-
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()
-