Class CefriumBrowser.ResourceRequest
java.lang.Object
com.cefrium.CefriumBrowser.ResourceRequest
- Enclosing class:
CefriumBrowser
A request as
CefriumResourceInterceptor sees it.-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal StringThe document that made the request: for a subresource the page that loads it, for an iframe the page that holds it, for a main-frame navigation the request's own URL.final booleanWhether the main frame made the request (true for its own navigation).final Stringfinal intDeprecated.final StringThe page in the main frame: the request's own URL for a main-frame navigation, otherwise the main frame's URL when the request starts (during a navigation, a late request of the old page can carry the new page's URL).static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.final String -
Method Summary
-
Field Details
-
TYPE_MAIN_FRAME
Deprecated.A page loaded into the main frame.- See Also:
-
TYPE_SUB_FRAME
Deprecated.A page loaded into an iframe.- See Also:
-
TYPE_STYLESHEET
-
TYPE_SCRIPT
-
TYPE_IMAGE
-
TYPE_FONT
-
TYPE_SUB_RESOURCE
Deprecated.Anything else a page loads that has no type of its own.- See Also:
-
TYPE_OBJECT
-
TYPE_MEDIA
-
TYPE_WORKER
-
TYPE_SHARED_WORKER
-
TYPE_PREFETCH
-
TYPE_FAVICON
-
TYPE_XHR
-
TYPE_PING
Deprecated.navigator.sendBeaconand<a ping>.- See Also:
-
TYPE_SERVICE_WORKER
-
TYPE_CSP_REPORT
-
TYPE_PLUGIN_RESOURCE
-
TYPE_NAVIGATION_PRELOAD_MAIN_FRAME
-
TYPE_NAVIGATION_PRELOAD_SUB_FRAME
-
url
-
method
-
isMainFrame
public final boolean isMainFrameWhether the main frame made the request (true for its own navigation). -
resourceType
Deprecated.UsegetType(): these numbers are the engine's and may change with it.One of theTYPE_constants. -
documentUrl
The document that made the request: for a subresource the page that loads it, for an iframe the page that holds it, for a main-frame navigation the request's own URL. For a subresource, only the page's origin (https://host/) when the page has no URL of its own (an iframesrcdoc) or when the request starts before the browser has seen the page commit, as a page's first requests can. Empty when unknown. -
topLevelUrl
The page in the main frame: the request's own URL for a main-frame navigation, otherwise the main frame's URL when the request starts (during a navigation, a late request of the old page can carry the new page's URL). Empty when unknown.
-
-
Method Details
-
getType
What the request is for.
-
getType(): these numbers are the engine's and may change with it.