Default shouldInterceptRequest alternatives for api 10

Hello, maybe someone knows any alternatives for shouldInterceptRequest on api 10? Or maybe someone could help me, to make it work on api 10?

The code looks like this
Code:
// BLOCK ADS
        @Override
        public WebResourceResponse shouldInterceptRequest(WebView view, String url) {
            if (url.contains("adcash.com")) {
                return new WebResourceResponse("text/plain", "utf-8",
                        new ByteArrayInputStream("".getBytes()));
            }
            return super.shouldInterceptRequest(view, url);
        }