public class UrlFileExtensionTypeDetector extends java.lang.Object implements ContentTypeDetector
| Constructor and Description |
|---|
UrlFileExtensionTypeDetector() |
| Modifier and Type | Method and Description |
|---|---|
org.adblockplus.libadblockplus.FilterEngine.ContentType |
detect(android.webkit.WebResourceRequest request)
Detects ContentType for given URL and headers
|
public org.adblockplus.libadblockplus.FilterEngine.ContentType detect(android.webkit.WebResourceRequest request)
ContentTypeDetectordetect in interface ContentTypeDetectorrequest - WebResourceRequest that contains all required
info HTTP headers of incoming request including url and headers