public interface WebResourceRequest
WebViewClient.shouldInterceptRequest(android.webkit.WebView, java.lang.String)
method.Modifier and Type | Method and Description |
---|---|
String |
getMethod()
Gets the method associated with the request, for example "GET".
|
Map<String,String> |
getRequestHeaders()
Gets the headers associated with the request.
|
Uri |
getUrl()
Gets the URL for which the resource request was made.
|
boolean |
hasGesture()
Gets whether a gesture (such as a click) was associated with the request.
|
boolean |
isForMainFrame()
Gets whether the request was made for the main frame.
|
boolean |
isRedirect()
Gets whether the request was a result of a server-side redirect.
|
Uri getUrl()
boolean isForMainFrame()
boolean isRedirect()
boolean hasGesture()
String getMethod()