core/play/src/main/java/play/mvc/Results.java
public static Result temporaryRedirect(String url) {
    return new Result(TEMPORARY_REDIRECT, Collections.singletonMap(LOCATION, url));
  }
public static Result temporaryRedirect(String url) {
    return new Result(TEMPORARY_REDIRECT, Collections.singletonMap(LOCATION, url));
  }
public static Result temporaryRedirect ( String url ) { return new Result ( TEMPORARY_REDIRECT , Collections . singletonMap ( LOCATION , url ) ) ; }
Generates a 307 Temporary Redirect result.

@param url The url to redirect.
@return the result
Generates a 307 Temporary Redirect result .