| org.chromium.net.apihelpers.RedirectHandler |
An interface for classes specifying how Cronet should behave on redirects.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns whether the redirect should be followed.
| |||||||||||
Returns whether the redirect should be followed.
| Parameters | |
|---|---|
info |
UrlResponseInfo: the response info of the redirect response |
newLocationUrl |
String: the redirect location |
| Returns | |
|---|---|
boolean |
whether Cronet should follow teh redirect or not |
| Throws | |
|---|---|
Exception |
|