public interface RedirectResponseCodeReceived extends NetworkEvent
Modifier and Type | Method and Description |
---|---|
default Network |
network()
Returns the
Network instance initiated this event. |
default java.lang.String |
newUrl()
Returns a string that represents the new location of the redirected URL request.
|
default int |
responseCode()
Returns the HTTP response code (e.g., 300, 301, and so on).
|
default UrlRequest |
urlRequest()
Returns the URL request that has been redirected.
|
default Network network()
NetworkEvent
Network
instance initiated this event.network
in interface NetworkEvent
default UrlRequest urlRequest()
default int responseCode()
default java.lang.String newUrl()