Package de.sstoehr.harreader.model
Class HarTiming
java.lang.Object
de.sstoehr.harreader.model.HarTiming
public class HarTiming extends Object
-
Field Summary
Fields Modifier and Type Field Description protected static IntegerDEFAULT_TIME -
Constructor Summary
Constructors Constructor Description HarTiming() -
Method Summary
Modifier and Type Method Description booleanequals(Object o)IntegergetBlocked()StringgetComment()IntegergetConnect()IntegergetDns()IntegergetReceive()IntegergetSend()IntegergetSsl()IntegergetWait()inthashCode()voidsetBlocked(Integer blocked)voidsetComment(String comment)voidsetConnect(Integer connect)voidsetDns(Integer dns)voidsetReceive(Integer receive)voidsetSend(Integer send)voidsetSsl(Integer ssl)voidsetWait(Integer wait)
-
Field Details
-
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
-
equals
-
hashCode
public int hashCode()
-