core/play/src/main/java/play/mvc/Results.java
public static Result movedPermanently(Call call) {
    return new Result(MOVED_PERMANENTLY, Collections.singletonMap(LOCATION, call.path()));
  }
public static Result movedPermanently(Call call) {
    return new Result(MOVED_PERMANENTLY, Collections.singletonMap(LOCATION, call.path()));
  }
Generates a 301 Moved Permanently result.

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