core/play/src/main/java/play/mvc/Results.java
public static Result unsupportedMediaType(File content, boolean inline) {
    return unsupportedMediaType(content, inline, StaticFileMimeTypes.fileMimeTypes());
  }
public static Result unsupportedMediaType(File content, boolean inline) {
    return unsupportedMediaType(content, inline, StaticFileMimeTypes.fileMimeTypes());
  }
public static Result unsupportedMediaType ( File content , boolean inline ) { return unsupportedMediaType ( content , inline , StaticFileMimeTypes . fileMimeTypes ( ) ) ; }
Generates a 415 Unsupported Media Type result.

@param content The file to send.
@param inline Whether the file should be sent inline, or as an attachment.
@return the result
Generates a 415 Unsupported Media Type result .