Returns the HTTP response code (e.g., 300, 301, and so on). Indicates the reason why the
request has been redirected.
default java.lang.String newUrl()
Returns a string that represents the new location of the redirected URL request. Represents
the full text of the redirection URL, in UTF-8 format. Can be empty when the new URL is not
considered as valid.