android.webkit.WebResourceRequest |
Encompasses parameters to the shouldInterceptRequest(WebView, WebResourceRequest)
method.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Gets the method associated with the request, for example "GET".
| |||||||||||
Gets the headers associated with the request.
| |||||||||||
Gets the URL for which the resource request was made.
| |||||||||||
Gets whether a gesture (such as a click) was associated with the request.
| |||||||||||
Gets whether the request was made for the main frame.
|
Gets the method associated with the request, for example "GET".
Gets the headers associated with the request. These are represented as a mapping of header name to header value.
Gets the URL for which the resource request was made.
Gets whether a gesture (such as a click) was associated with the request. For security reasons in certain situations this method may return false even though the sequence of events which caused the request to be created was initiated by a user gesture.
Gets whether the request was made for the main frame.