Method $response.redirect() returns a HTTP redirect to the specific location.
$response.redirect()
$response.redirect(location)
Location to redirect (string)
$response.redirect('/redirected.html')