public interface ResourceRequest
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
Map<String,String> |
getHeaders() |
Obtains HTTP header information of the resource request.
|
String |
getMethod() |
Obtains the associated HTTP method.
|
Uri |
getRequestUrl() |
Obtains the URL from which the request is sent.
|
boolean |
isMainFrame() |
Checks whether the request is from the main framework of the page.
|
boolean |
isServerSideRedirected() |
Checks whether URL redirection has occurred on the server.
|
Uri getRequestUrl()
Map<String,String> getHeaders()
boolean isServerSideRedirected()
true if URL redirection has occurred; returns false otherwise.boolean isMainFrame()
true if the request is from the main framework of the page; returns false
otherwise.String getMethod()