Class Page.Frame

    • Field Summary

       
      Serializable ID
      Modifier and Type Field
      protected static long serialVersionUID
      For Object Serialization.
       
      Type Properties
      Modifier and Type Field
      Page.AdFrameStatus adFrameStatus
      Indicates whether this frame was tagged as an ad and why.
      String crossOriginIsolatedContextType
      Indicates whether this is a cross origin isolated context.
      String domainAndRegistry
      Frame document's registered domain, taking the public suffixes list into account.
      String[] gatedAPIFeatures
      Indicated which gated APIs / features are available.
      String id
      Frame unique identifier.
      String loaderId
      Identifier of the loader associated with this frame.
      String mimeType
      Frame document's mimeType as determined by the browser.
      String name
      Frame's name as specified in the tag.
      String parentId
      Parent frame identifier.
      String secureContextType
      Indicates whether the main document is a secure context and explains why that is the case.
      String securityOrigin
      Frame document's security origin.
      String unreachableUrl
      If the frame failed to load, this contains the URL that could not be loaded.
      String url
      Frame document's URL without fragment.
      String urlFragment
      Frame document's URL fragment including the '#'.
    • Constructor Summary

      Constructors 
      Constructor Description
      Frame​(String id, String parentId, String loaderId, String name, String url, String urlFragment, String domainAndRegistry, String securityOrigin, String mimeType, String unreachableUrl, Page.AdFrameStatus adFrameStatus, String secureContextType, String crossOriginIsolatedContextType, String[] gatedAPIFeatures)
      Constructor
      Frame​(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

      • Frame

        🡅  🡇     🗕  🗗  🗖
        public Frame​(java.lang.String id,
                     java.lang.String parentId,
                     java.lang.String loaderId,
                     java.lang.String name,
                     java.lang.String url,
                     java.lang.String urlFragment,
                     java.lang.String domainAndRegistry,
                     java.lang.String securityOrigin,
                     java.lang.String mimeType,
                     java.lang.String unreachableUrl,
                     Page.AdFrameStatus adFrameStatus,
                     java.lang.String secureContextType,
                     java.lang.String crossOriginIsolatedContextType,
                     java.lang.String[] gatedAPIFeatures)
        Constructor
        Parameters:
        id - Frame unique identifier.
        parentId - Parent frame identifier.
        OPTIONAL
        loaderId - Identifier of the loader associated with this frame.
        name - Frame's name as specified in the tag.
        OPTIONAL
        url - Frame document's URL without fragment.
        urlFragment - Frame document's URL fragment including the '#'.
        OPTIONAL
        EXPERIMENTAL
        domainAndRegistry - Frame document's registered domain, taking the public suffixes list into account. Extracted from the Frame's url. Example URLs: http://www.google.com/file.html -> "google.com" http://a.b.co.uk/file.html -> "b.co.uk"
        EXPERIMENTAL
        securityOrigin - Frame document's security origin.
        mimeType - Frame document's mimeType as determined by the browser.
        unreachableUrl - If the frame failed to load, this contains the URL that could not be loaded. Note that unlike url above, this URL may contain a fragment.
        OPTIONAL
        EXPERIMENTAL
        adFrameStatus - Indicates whether this frame was tagged as an ad and why.
        OPTIONAL
        EXPERIMENTAL
        secureContextType - Indicates whether the main document is a secure context and explains why that is the case.
        EXPERIMENTAL
        crossOriginIsolatedContextType - Indicates whether this is a cross origin isolated context.
        EXPERIMENTAL
        gatedAPIFeatures - Indicated which gated APIs / features are available.
        EXPERIMENTAL
    • 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