All Classes
| Class | Description |
|---|---|
| AdblockWebView |
WebView with ad blocking
|
| AdblockWebView.EventsListener |
Listener for ad blocking related events.
|
| AdblockWebView.EventsListener.AllowlistedResourceInfo |
Immutable data-class containing an auxiliary information about allowlisted resource.
|
| AdblockWebView.EventsListener.AllowlistReason |
Allowlisting reason:
|
| AdblockWebView.EventsListener.BlockedResourceInfo |
Immutable data-class containing an auxiliary information about blocked resource.
|
| AdblockWebView.EventsListener.ResourceInfo |
Immutable data-class containing an auxiliary information about resource event.
|
| AdblockWebView.OptionalBoolean |
Optional boolean value.
|
| AdblockWebView.WebResponseResult | |
| BaseSiteKeyExtractor | |
| CombinedSiteKeyExtractor |
Decides what extractor has to be used by analyzing the data
that
AdblockWebView has. |
| ContentTypeDetector | |
| HeadersContentTypeDetector |
Detects content type based on headers
|
| HttpHeaderSiteKeyExtractor |
Makes a custom HTTP request and then does the Site Key verification by calling
SiteKeyVerifier.verifyInHeaders(String, Map, Map) |
| HttpHeaderSiteKeyExtractor.ResourceInfo | |
| HttpHeaderSiteKeyExtractor.ServerResponseProcessor | |
| OrderedContentTypeDetector |
Detects content type based on
HeadersContentTypeDetector
and UrlFileExtensionTypeDetector |
| SiteKeyExtractor |
Extracts a Site Key from an
AdblockWebView's internals and verifies the Site Key
What is expected from this class:
Extract the Site Key from all available resources from AdblockWebView
Use SiteKeyVerifier to verify it
An instance of SiteKeyVerifier is set to
`siteKeysConfiguration` property
AdblockWebView accepts the extractor
by calling AdblockWebView.setSiteKeyExtractor(SiteKeyExtractor)
For example, custom HTTP request can be made and resulting HTTP headers can be used to
extract the Site Key from the header
Or Site Key might be extracted from html root tag by injecting
javascript into AdblockWebView and using JS handler to get the key back to WebView |
| UrlFileExtensionTypeDetector | |
| WebViewCounters |
A class for ad blocking counters, such as a counter of blocked resources, of a particular
instance of WebView.
|
| WebViewCounters.EventsListener |
Listener for changing events.
|