core/play/src/main/java/play/mvc/Results.java
public static Result unauthorized(File content, FileMimeTypes fileMimeTypes) {
    return status(UNAUTHORIZED, content, fileMimeTypes);
  }
public static Result unauthorized(File content, FileMimeTypes fileMimeTypes) {
    return status(UNAUTHORIZED, content, fileMimeTypes);
  }
public static Result unauthorized ( File content , FileMimeTypes fileMimeTypes ) { return status ( UNAUTHORIZED , content , fileMimeTypes ) ; }
Generates a 401 Unauthorized result.

@param content The file to send.
@param fileMimeTypes Used for file type mapping.
@return the result
Generates a 401 Unauthorized result .