Class HarTiming


  • public class HarTiming
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static java.lang.Integer DEFAULT_TIME  
    • Constructor Summary

      Constructors 
      Constructor Description
      HarTiming()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      java.lang.Integer getBlocked()  
      java.lang.String getComment()  
      java.lang.Integer getConnect()  
      java.lang.Integer getDns()  
      java.lang.Integer getReceive()  
      java.lang.Integer getSend()  
      java.lang.Integer getSsl()  
      java.lang.Integer getWait()  
      int hashCode()  
      void setBlocked​(java.lang.Integer blocked)  
      void setComment​(java.lang.String comment)  
      void setConnect​(java.lang.Integer connect)  
      void setDns​(java.lang.Integer dns)  
      void setReceive​(java.lang.Integer receive)  
      void setSend​(java.lang.Integer send)  
      void setSsl​(java.lang.Integer ssl)  
      void setWait​(java.lang.Integer wait)  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • DEFAULT_TIME

        protected static final java.lang.Integer DEFAULT_TIME
    • Constructor Detail

      • HarTiming

        public HarTiming()
    • Method Detail

      • getBlocked

        public java.lang.Integer getBlocked()
        Returns:
        Time spent in a queue waiting for a network connection. DEFAULT_TIME if 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_TIME if 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_TIME if 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_TIME if 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:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object