LocalFileContent
class LocalFileContent(file: File, contentType: ContentType) : OutgoingContent.ReadChannelContent
Content copied to clipboard
OutgoingContent representing a local file with a specified contentType, expires date and caching
Parameters
file
specifies the File to be served to a client
Constructors
Link copied to clipboard
fun LocalFileContent(file: File, contentType: ContentType = ContentType.defaultForFile(file))
Content copied to clipboard