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

@param call Call defining the url to redirect (typically comes from reverse router).
@return the result