-
public final class FrameInformation about the Frame on the page.
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringidprivate final StringparentIdprivate final StringloaderIdprivate final Stringnameprivate final Stringurlprivate final StringurlFragmentprivate final StringdomainAndRegistryprivate final StringsecurityOriginprivate final StringmimeTypeprivate final StringunreachableUrlprivate final AdFrameTypeadFrameTypeprivate final SecureContextTypesecureContextTypeprivate final CrossOriginIsolatedContextTypecrossOriginIsolatedContextTypeprivate final List<GatedAPIFeatures>gatedAPIFeatures
-
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, AdFrameType adFrameType, SecureContextType secureContextType, CrossOriginIsolatedContextType crossOriginIsolatedContextType, List<GatedAPIFeatures> gatedAPIFeatures)
-
Method Summary
Modifier and Type Method Description final Stringcomponent1()final Stringcomponent2()final Stringcomponent3()final Stringcomponent4()final Stringcomponent5()final Stringcomponent6()final Stringcomponent7()final Stringcomponent8()final Stringcomponent9()final Stringcomponent10()final AdFrameTypecomponent11()final SecureContextTypecomponent12()final CrossOriginIsolatedContextTypecomponent13()final List<GatedAPIFeatures>component14()final Framecopy(String id, String parentId, String loaderId, String name, String url, String urlFragment, String domainAndRegistry, String securityOrigin, String mimeType, String unreachableUrl, AdFrameType adFrameType, SecureContextType secureContextType, CrossOriginIsolatedContextType crossOriginIsolatedContextType, List<GatedAPIFeatures> gatedAPIFeatures)final StringgetId()Frame unique identifier. final StringgetParentId()Parent frame identifier. final StringgetLoaderId()Identifier of the loader associated with this frame. final StringgetName()Frame's name as specified in the tag. final StringgetUrl()Frame document's URL without fragment. final StringgetUrlFragment()Frame document's URL fragment including the '#'. final StringgetDomainAndRegistry()Frame document's registered domain, taking the public suffixes list into account. final StringgetSecurityOrigin()Frame document's security origin. final StringgetMimeType()Frame document's mimeType as determined by the browser. final StringgetUnreachableUrl()If the frame failed to load, this contains the URL that could not be loaded. final AdFrameTypegetAdFrameType()Indicates whether this frame was tagged as an ad. final SecureContextTypegetSecureContextType()Indicates whether the main document is a secure context and explains why that is the case. final CrossOriginIsolatedContextTypegetCrossOriginIsolatedContextType()Indicates whether this is a cross origin isolated context. final List<GatedAPIFeatures>getGatedAPIFeatures()Indicated which gated APIs / features are available. -
-
Constructor Detail
-
Frame
Frame(String id, String parentId, String loaderId, String name, String url, String urlFragment, String domainAndRegistry, String securityOrigin, String mimeType, String unreachableUrl, AdFrameType adFrameType, SecureContextType secureContextType, CrossOriginIsolatedContextType crossOriginIsolatedContextType, List<GatedAPIFeatures> gatedAPIFeatures)
-
-
Method Detail
-
component1
final String component1()
-
component2
final String component2()
-
component3
final String component3()
-
component4
final String component4()
-
component5
final String component5()
-
component6
final String component6()
-
component7
final String component7()
-
component8
final String component8()
-
component9
final String component9()
-
component10
final String component10()
-
component11
final AdFrameType component11()
-
component12
final SecureContextType component12()
-
component13
final CrossOriginIsolatedContextType component13()
-
component14
final List<GatedAPIFeatures> component14()
-
copy
final Frame copy(String id, String parentId, String loaderId, String name, String url, String urlFragment, String domainAndRegistry, String securityOrigin, String mimeType, String unreachableUrl, AdFrameType adFrameType, SecureContextType secureContextType, CrossOriginIsolatedContextType crossOriginIsolatedContextType, List<GatedAPIFeatures> gatedAPIFeatures)
-
getParentId
final String getParentId()
Parent frame identifier.
-
getLoaderId
final String getLoaderId()
Identifier of the loader associated with this frame.
-
getUrlFragment
final String getUrlFragment()
Frame document's URL fragment including the '#'.
-
getDomainAndRegistry
final String getDomainAndRegistry()
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"
-
getSecurityOrigin
final String getSecurityOrigin()
Frame document's security origin.
-
getMimeType
final String getMimeType()
Frame document's mimeType as determined by the browser.
-
getUnreachableUrl
final String getUnreachableUrl()
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.
-
getAdFrameType
final AdFrameType getAdFrameType()
Indicates whether this frame was tagged as an ad.
-
getSecureContextType
final SecureContextType getSecureContextType()
Indicates whether the main document is a secure context and explains why that is the case.
-
getCrossOriginIsolatedContextType
final CrossOriginIsolatedContextType getCrossOriginIsolatedContextType()
Indicates whether this is a cross origin isolated context.
-
getGatedAPIFeatures
final List<GatedAPIFeatures> getGatedAPIFeatures()
Indicated which gated APIs / features are available.
-
-
-
-