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

@param url The url to redirect.
@return the result
Generates a 301 Moved Permanently result .