public static interface BeforeUrlRequestCallback.Response
BeforeUrlRequestCallback
.Modifier and Type | Method and Description |
---|---|
static BeforeUrlRequestCallback.Response |
proceed()
Notifies the engine that the URL request should continue without redirection.
|
static BeforeUrlRequestCallback.Response |
redirect(java.lang.String newUrl)
Notifies the engine that the URL request should be redirected to the given url.
|
static BeforeUrlRequestCallback.Response redirect(java.lang.String newUrl)
java.lang.IllegalArgumentException
- when newUrl
is empty or blankstatic BeforeUrlRequestCallback.Response proceed()