I want to analyze all requests sent from WebView.
For this, I have WebViewClient
and shouldInterceptRequest
overridden.
I can see requests, but I would like to see what webView
will receive in response. I need this for analysis, I do not have need to change response.
Line bellow gives null,
WebResourceResponse response = super.shouldInterceptRequest(view, request);
I know, that shouldInterceptRequest()
return null, means that no one intercept the request, and the webView
will load the origin URL
.
But, I would like to see this WebResourceResponse
and do not implement it by myself.Thanks!!