public class Frame extends Object
| Constructor and Description |
|---|
Frame() |
| Modifier and Type | Method and Description |
|---|---|
AdFrameType |
getAdFrameType()
Indicates whether this frame was tagged as an ad.
|
CrossOriginIsolatedContextType |
getCrossOriginIsolatedContextType()
Indicates whether this is a cross origin isolated context.
|
String |
getDomainAndRegistry()
Frame document's registered domain, taking the public suffixes list into account.
|
List<GatedAPIFeatures> |
getGatedAPIFeatures()
Indicated which gated APIs / features are available.
|
String |
getId()
Frame unique identifier.
|
String |
getLoaderId()
Identifier of the loader associated with this frame.
|
String |
getMimeType()
Frame document's mimeType as determined by the browser.
|
String |
getName()
Frame's name as specified in the tag.
|
String |
getParentId()
Parent frame identifier.
|
SecureContextType |
getSecureContextType()
Indicates whether the main document is a secure context and explains why that is the case.
|
String |
getSecurityOrigin()
Frame document's security origin.
|
String |
getUnreachableUrl()
If the frame failed to load, this contains the URL that could not be loaded.
|
String |
getUrl()
Frame document's URL without fragment.
|
String |
getUrlFragment()
Frame document's URL fragment including the '#'.
|
void |
setAdFrameType(AdFrameType adFrameType)
Indicates whether this frame was tagged as an ad.
|
void |
setCrossOriginIsolatedContextType(CrossOriginIsolatedContextType crossOriginIsolatedContextType)
Indicates whether this is a cross origin isolated context.
|
void |
setDomainAndRegistry(String domainAndRegistry)
Frame document's registered domain, taking the public suffixes list into account.
|
void |
setGatedAPIFeatures(List<GatedAPIFeatures> gatedAPIFeatures)
Indicated which gated APIs / features are available.
|
void |
setId(String id)
Frame unique identifier.
|
void |
setLoaderId(String loaderId)
Identifier of the loader associated with this frame.
|
void |
setMimeType(String mimeType)
Frame document's mimeType as determined by the browser.
|
void |
setName(String name)
Frame's name as specified in the tag.
|
void |
setParentId(String parentId)
Parent frame identifier.
|
void |
setSecureContextType(SecureContextType secureContextType)
Indicates whether the main document is a secure context and explains why that is the case.
|
void |
setSecurityOrigin(String securityOrigin)
Frame document's security origin.
|
void |
setUnreachableUrl(String unreachableUrl)
If the frame failed to load, this contains the URL that could not be loaded.
|
void |
setUrl(String url)
Frame document's URL without fragment.
|
void |
setUrlFragment(String urlFragment)
Frame document's URL fragment including the '#'.
|
public String getId()
public void setId(String id)
public String getParentId()
public void setParentId(String parentId)
public String getLoaderId()
public void setLoaderId(String loaderId)
public String getName()
public void setName(String name)
public String getUrl()
public void setUrl(String url)
public String getUrlFragment()
public void setUrlFragment(String urlFragment)
public String getDomainAndRegistry()
public void setDomainAndRegistry(String domainAndRegistry)
public String getSecurityOrigin()
public void setSecurityOrigin(String securityOrigin)
public String getMimeType()
public void setMimeType(String mimeType)
public String getUnreachableUrl()
public void setUnreachableUrl(String unreachableUrl)
public AdFrameType getAdFrameType()
public void setAdFrameType(AdFrameType adFrameType)
public SecureContextType getSecureContextType()
public void setSecureContextType(SecureContextType secureContextType)
public CrossOriginIsolatedContextType getCrossOriginIsolatedContextType()
public void setCrossOriginIsolatedContextType(CrossOriginIsolatedContextType crossOriginIsolatedContextType)
public List<GatedAPIFeatures> getGatedAPIFeatures()
public void setGatedAPIFeatures(List<GatedAPIFeatures> gatedAPIFeatures)
Copyright © 2021 Kenan Klisura. All rights reserved.