private static Result redirect(final Status status, final String location) {
    requireNonNull(location, "A location is required.");
    return with(status).header("location", location);
  }
private static Result redirect(final Status status, final String location) {
    requireNonNull(location, "A location is required.");
    return with(status).header("location", location);
  }
private static Result redirect ( final Status status , final String location ) { requireNonNull ( location , "A location is required." ) ; return with ( status ) . header ( "location" , location ) ; }
Produces a redirect (302) status code and set the <code>Location</code> header too.

@param status A HTTP redirect status.
@param location A location.
@return A new result.
Produces a redirect ( 302 ) status code and set the <code > Location< / code > header too .