Class Network.ResourceTiming

    • Field Summary

       
      Serializable ID
      Modifier and Type Field
      protected static long serialVersionUID
      For Object Serialization.
       
      Type Properties
      Modifier and Type Field
      Number connectEnd
      Connected to the remote host.
      Number connectStart
      Started connecting to the remote host.
      Number dnsEnd
      Finished DNS address resolve.
      Number dnsStart
      Started DNS address resolve.
      Number proxyEnd
      Finished resolving proxy.
      Number proxyStart
      Started resolving proxy.
      Number pushEnd
      Time the server finished pushing request.
      Number pushStart
      Time the server started pushing request.
      Number receiveHeadersEnd
      Finished receiving response headers.
      Number requestTime
      Timing's requestTime is a baseline in seconds, while the other numbers are ticks in milliseconds relatively to this requestTime.
      Number sendEnd
      Finished sending request.
      Number sendStart
      Started sending request.
      Number sslEnd
      Finished SSL handshake.
      Number sslStart
      Started SSL handshake.
      Number workerFetchStart
      Started fetch event.
      Number workerReady
      Finished Starting ServiceWorker.
      Number workerRespondWithSettled
      Settled fetch event respondWith promise.
      Number workerStart
      Started running ServiceWorker.
    • Constructor Summary

      Constructors 
      Constructor Description
      ResourceTiming​(Number requestTime, Number proxyStart, Number proxyEnd, Number dnsStart, Number dnsEnd, Number connectStart, Number connectEnd, Number sslStart, Number sslEnd, Number workerStart, Number workerReady, Number workerFetchStart, Number workerRespondWithSettled, Number sendStart, Number sendEnd, Number pushStart, Number pushEnd, Number receiveHeadersEnd)
      Constructor
      ResourceTiming​(JsonObject jo)
      JSON Object Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(Object other)
      Checks whether 'this' equals an input Java-Object
      int hashCode()
      Generates a Hash-Code for 'this' instance
      boolean[] optionals()
      Implementing this method allows sub-classes to specify which JSON Properties may be absent or null.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ResourceTiming

        🡅  🡇     🗕  🗗  🗖
        public ResourceTiming​(java.lang.Number requestTime,
                              java.lang.Number proxyStart,
                              java.lang.Number proxyEnd,
                              java.lang.Number dnsStart,
                              java.lang.Number dnsEnd,
                              java.lang.Number connectStart,
                              java.lang.Number connectEnd,
                              java.lang.Number sslStart,
                              java.lang.Number sslEnd,
                              java.lang.Number workerStart,
                              java.lang.Number workerReady,
                              java.lang.Number workerFetchStart,
                              java.lang.Number workerRespondWithSettled,
                              java.lang.Number sendStart,
                              java.lang.Number sendEnd,
                              java.lang.Number pushStart,
                              java.lang.Number pushEnd,
                              java.lang.Number receiveHeadersEnd)
        Constructor
        Parameters:
        requestTime - Timing's requestTime is a baseline in seconds, while the other numbers are ticks in milliseconds relatively to this requestTime.
        proxyStart - Started resolving proxy.
        proxyEnd - Finished resolving proxy.
        dnsStart - Started DNS address resolve.
        dnsEnd - Finished DNS address resolve.
        connectStart - Started connecting to the remote host.
        connectEnd - Connected to the remote host.
        sslStart - Started SSL handshake.
        sslEnd - Finished SSL handshake.
        workerStart - Started running ServiceWorker.
        EXPERIMENTAL
        workerReady - Finished Starting ServiceWorker.
        EXPERIMENTAL
        workerFetchStart - Started fetch event.
        EXPERIMENTAL
        workerRespondWithSettled - Settled fetch event respondWith promise.
        EXPERIMENTAL
        sendStart - Started sending request.
        sendEnd - Finished sending request.
        pushStart - Time the server started pushing request.
        EXPERIMENTAL
        pushEnd - Time the server finished pushing request.
        EXPERIMENTAL
        receiveHeadersEnd - Finished receiving response headers.
    • Method Detail

      • optionals

        🡅  🡇     🗕  🗗  🗖
        public boolean[] optionals()
        Description copied from class: BaseType
        Implementing this method allows sub-classes to specify which JSON Properties may be absent or null. When binding a JsonObject to a Java-Object, if some of the expected fields for the Java-Object map to Properties which might be left-out or omitted, then that may be indicated by setting that fields array position TRUE.

        NOTE: This array should have a length equal to the number of fields contained by the Java Object. The first boolean in the array should specify whether the first Object Field may by absent. The second boolean should specify whether the second Object Field is optional in the JSON - and so on and so forth...
        Specified by:
        optionals in class BaseType
        Returns:
        A boolean[] array whose length is precisely equal to the number of fields in the Java Object.
      • equals

        🡅  🡇     🗕  🗗  🗖
        public boolean equals​(java.lang.Object other)
        Checks whether 'this' equals an input Java-Object
        Overrides:
        equals in class java.lang.Object
      • hashCode

        🡅     🗕  🗗  🗖
        public int hashCode()
        Generates a Hash-Code for 'this' instance
        Overrides:
        hashCode in class java.lang.Object