Package de.sstoehr.harreader.model
Class HarTiming
- java.lang.Object
-
- de.sstoehr.harreader.model.HarTiming
-
public class HarTiming extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.IntegerDEFAULT_TIME
-
Constructor Summary
Constructors Constructor Description HarTiming()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.lang.IntegergetBlocked()java.lang.StringgetComment()java.lang.IntegergetConnect()java.lang.IntegergetDns()java.lang.IntegergetReceive()java.lang.IntegergetSend()java.lang.IntegergetSsl()java.lang.IntegergetWait()inthashCode()voidsetBlocked(java.lang.Integer blocked)voidsetComment(java.lang.String comment)voidsetConnect(java.lang.Integer connect)voidsetDns(java.lang.Integer dns)voidsetReceive(java.lang.Integer receive)voidsetSend(java.lang.Integer send)voidsetSsl(java.lang.Integer ssl)voidsetWait(java.lang.Integer wait)
-
-
-
Method Detail
-
getBlocked
public java.lang.Integer getBlocked()
- Returns:
- Time spent in a queue waiting for a network connection.
DEFAULT_TIMEif the timing does not apply to the current request.
-
setBlocked
public void setBlocked(java.lang.Integer blocked)
-
getDns
public java.lang.Integer 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
public void setDns(java.lang.Integer dns)
-
getConnect
public java.lang.Integer getConnect()
- Returns:
- Time required to create TCP connection.
DEFAULT_TIMEif the timing does not apply to the current request.
-
setConnect
public void setConnect(java.lang.Integer connect)
-
getSend
public java.lang.Integer getSend()
- Returns:
- Time required to send HTTP request to the server, null if not present.
-
setSend
public void setSend(java.lang.Integer send)
-
getWait
public java.lang.Integer getWait()
- Returns:
- Waiting for a response from the server, null if not present.
-
setWait
public void setWait(java.lang.Integer wait)
-
getReceive
public java.lang.Integer getReceive()
- Returns:
- Time required to read entire response from the server (or cache), null if not present.
-
setReceive
public void setReceive(java.lang.Integer receive)
-
getSsl
public java.lang.Integer 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
public void setSsl(java.lang.Integer ssl)
-
getComment
public java.lang.String getComment()
- Returns:
- Comment provided by the user or application, null if not present.
-
setComment
public void setComment(java.lang.String comment)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-