core/play/src/main/java/play/mvc/Results.java
public static Result status(int status, Path content) {
    return status(status, content, StaticFileMimeTypes.fileMimeTypes());
  }
public static Result status(int status, Path content) {
    return status(status, content, StaticFileMimeTypes.fileMimeTypes());
  }
Generates a result with path contents.

@param status the HTTP status for this result e.g. 200 (OK), 404 (NOT_FOUND)
@param content the path to send
@return the result