Package de.sstoehr.harreader.model
Class HarTiming
java.lang.Object
de.sstoehr.harreader.model.HarTiming
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetDns()getSend()getSsl()getWait()inthashCode()voidsetAdditionalField(String key, Object value) voidsetBlocked(Integer blocked) voidsetComment(String comment) voidsetConnect(Integer connect) voidvoidsetReceive(Integer receive) voidvoidvoid
-
Field Details
-
DEFAULT_TIME
-
-
Constructor Details
-
HarTiming
public HarTiming()
-
-
Method Details
-
getBlocked
- Returns:
- Time spent in a queue waiting for a network connection.
DEFAULT_TIMEif the timing does not apply to the current request.
-
setBlocked
-
getDns
- Returns:
- DNS resolution time. The time required to resolve a host name.
DEFAULT_TIMEif the timing does not apply to the current request.
-
setDns
-
getConnect
- Returns:
- Time required to create TCP connection.
DEFAULT_TIMEif the timing does not apply to the current request.
-
setConnect
-
getSend
- Returns:
- Time required to send HTTP request to the server, null if not present.
-
setSend
-
getWait
- Returns:
- Waiting for a response from the server, null if not present.
-
setWait
-
getReceive
- Returns:
- Time required to read entire response from the server (or cache), null if not present.
-
setReceive
-
getSsl
- Returns:
- Time required for SSL/TLS negotiation.
If this field is defined then the time is also included in the connect field
(to ensure backward compatibility with HAR 1.1).
DEFAULT_TIMEif the timing does not apply to the current request.
-
setSsl
-
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()
-