birdy birdy - 1 year ago 174
Ajax Question

How to return Http error response from webViewClient.shouldInterceptRequest()?

I've override

public WebResourceResponse shouldInterceptRequest(WebView webView, String url)
and it should return custom response on request from
function. But looks like
contains only response body. How can I pass HTTP response like this one :

HTTP/1.1 202
Cache-Control: no-cache
Custom-param: param

to my

Answer Source
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download