<init>

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

OutgoingContent representing a local file with a specified contentType, expires date and caching

Parameters

file - specifies the File to be served to a client