Package de.sstoehr.harreader.model
Class HarEntry
java.lang.Object
de.sstoehr.harreader.model.HarEntry
public class HarEntry extends Object
Information about a single HTTP request.
- See Also:
- specification
-
Constructor Summary
Constructors Constructor Description HarEntry() -
Method Summary
Modifier and Type Method Description booleanequals(Object o)Map<String,Object>getAdditional()HarCachegetCache()StringgetComment()StringgetConnection()StringgetPageref()HarRequestgetRequest()HarResponsegetResponse()StringgetServerIPAddress()DategetStartedDateTime()IntegergetTime()HarTiminggetTimings()inthashCode()voidsetAdditionalField(String name, Object value)voidsetCache(HarCache cache)voidsetComment(String comment)voidsetConnection(String connection)voidsetPageref(String pageref)voidsetRequest(HarRequest request)voidsetResponse(HarResponse response)voidsetServerIPAddress(String serverIPAddress)voidsetStartedDateTime(Date startedDateTime)voidsetTime(Integer time)voidsetTimings(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
-
setAdditionalField
-
equals
-
hashCode
public int hashCode()
-