public interface
RedirectHandler
An interface for classes specifying how Cronet should behave on redirects.
Public Method Summary
abstract boolean |
shouldFollowRedirect(UrlResponseInfo info, String newLocationUrl)
Returns whether the redirect should be followed.
|
Public Methods
public abstract boolean shouldFollowRedirect (UrlResponseInfo info, String newLocationUrl)
Returns whether the redirect should be followed.
Parameters
info | the response info of the redirect response |
---|---|
newLocationUrl | the redirect location |
Returns
- whether Cronet should follow the redirect or not
Throws
Exception |
---|