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

@param content The path to send.
@param filename The name to send the file as.
@return the result