Class Network.requestWillBeSentExtraInfo

  • All Implemented Interfaces:
    Enclosing class:

    public static class Network.requestWillBeSentExtraInfo
    extends BrowserEvent
    Fired when additional information about a requestWillBeSent event is available from the network stack. Not every requestWillBeSent event will have an additional requestWillBeSentExtraInfo fired for it, and there is no guarantee whether requestWillBeSent or requestWillBeSentExtraInfo will be fired first for the same request.

    See Also:
    Serialized Form

    • Constructor Detail

      • requestWillBeSentExtraInfo

        🡅  🡇     🗕  🗗  🗖
        public requestWillBeSentExtraInfo​
                    (java.lang.String requestId,
                     Network.BlockedCookieWithReason[] associatedCookies,
                     JsonObject headers,
                     Network.ConnectTiming connectTiming,
                     Network.ClientSecurityState clientSecurityState)
        requestId - Request identifier. Used to match this information to an existing requestWillBeSent event.
        associatedCookies - A list of cookies potentially associated to the requested URL. This includes both cookies sent with the request and the ones not sent; the latter are distinguished by having blockedReason field set.
        headers - Raw request headers as they will be sent over the wire.
        connectTiming - Connection timing information for the request.
        clientSecurityState - The client security state set for the request.
    • 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
        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
        equals in class java.lang.Object
      • hashCode

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