core/play/src/main/java/play/mvc/Results.java
public static Result created(Path content, String filename) {
    return created(content, filename, StaticFileMimeTypes.fileMimeTypes());
  }
public static Result created(Path content, String filename) {
    return created(content, filename, StaticFileMimeTypes.fileMimeTypes());
  }
public static Result created ( Path content , String filename ) { return created ( content , filename , StaticFileMimeTypes . fileMimeTypes ( ) ) ; }
Generates a 201 Created result.

@param content The path to send.
@param filename The name to send the file as.
@return the result
Generates a 201 Created result .