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

@param content The path to send.
@param inline Whether the file should be sent inline, or as an attachment.
@param filename The name to send the file as.
@param fileMimeTypes Used for file type mapping.
@return the result