LocalFileContent

constructor(file: File, contentType: ContentType = ContentType.defaultForFile(file))

Parameters

file

specifies the File to be served to a client