Package Torello.Browser
Class Network.subresourceWebBundleInnerResponseParsed
- java.lang.Object
-
- Torello.Java.Additional.BaseType
-
- Torello.Browser.BrowserEvent
-
- Torello.Browser.Network.subresourceWebBundleInnerResponseParsed
-
- Enclosing class:
- Network
public static class Network.subresourceWebBundleInnerResponseParsed extends BrowserEvent
Fired when handling requests for resources within a .wbn file. Note: this will only be fired for resources that are requested by the webpage.
EXPERIMENTAL
Hi-Lited Source-Code:- View Here: Torello/Browser/Network.java
- Open New Browser-Tab: Torello/Browser/Network.java
-
-
Field Summary
Serializable ID Modifier and Type Field protected static long
serialVersionUID
For Object Serialization.Event Properties Modifier and Type Field String
bundleRequestId
Bundle request identifier.String
innerRequestId
Request identifier of the subresource requestString
innerRequestURL
URL of the subresource resource.-
Fields inherited from class Torello.Browser.BrowserEvent
domain, name, numFields
-
-
Constructor Summary
Constructors Constructor Description subresourceWebBundleInnerResponseParsed(String innerRequestId, String innerRequestURL, String bundleRequestId)
ConstructorsubresourceWebBundleInnerResponseParsed(JsonObject jo)
JSON Object Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean[]
optionals()
Implementing this method allows sub-classes to specify which JSON Properties may be absent or null.
-
-
-
Field Detail
-
serialVersionUID
protected static final long serialVersionUID
For Object Serialization. java.io.Serializable- See Also:
- Constant Field Values
-
innerRequestId
public final java.lang.String innerRequestId
Request identifier of the subresource request
-
innerRequestURL
public final java.lang.String innerRequestURL
URL of the subresource resource.
-
bundleRequestId
public final java.lang.String bundleRequestId
Bundle request identifier. Used to match this information to another event. This made be absent in case when the instrumentation was enabled only after webbundle was parsed.
OPTIONAL
-
-
Constructor Detail
-
subresourceWebBundleInnerResponseParsed
public subresourceWebBundleInnerResponseParsed (java.lang.String innerRequestId, java.lang.String innerRequestURL, java.lang.String bundleRequestId)
Constructor- Parameters:
innerRequestId
- Request identifier of the subresource requestinnerRequestURL
- URL of the subresource resource.bundleRequestId
- Bundle request identifier. Used to match this information to another event. This made be absent in case when the instrumentation was enabled only after webbundle was parsed.
OPTIONAL
-
subresourceWebBundleInnerResponseParsed
public subresourceWebBundleInnerResponseParsed(JsonObject jo)
JSON Object Constructor- Parameters:
jo
- A Json-Object having data about an instance of'subresourceWebBundleInnerResponseParsed'
.
-
-
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 aJsonObject
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 positionTRUE
.
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...
-
-