Package io.ktor.http.content
Types
Supported pre compressed file types and associated extensions
Represents a simple status code response with no content
Represents an OutgoingContent for a resource inside a Jar file
OutgoingContent representing a local file with a specified contentType, expires date and caching
Functions
Creates CachingOptions instance with ZonedDateTime expiration time
Specifies resource as a default resources to serve when folder is requested
Construct LastModifiedVersion version from a FileTime instance
Construct LastModifiedVersion version from a ZonedDateTime instance
Creates an instance of LocalFileContent for a file designated by relativePath in a baseDir
Support pre-compressed files in the file system only (not just any classpath resource)
Sets up routing to serve resource as remotePath in resourcePackage
Attempt to find a local file or a file inside of zip. This is not required but very good to have to improve performance and unnecessary java.io.InputStream creation.
Sets up routing to serve all resources in resourcePackage
Default outgoing content transformation