Package-level declarations
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
Configuration for the Route.singlePageApplication plugin.
Functions
Creates CachingOptions instance with ZonedDateTime expiration time
Specifies resource as a default resources to serve when folder is requested
Registers a block in ignoredFiles returns true if path should be ignored.
Construct LastModifiedVersion version from a FileTime instance
Construct LastModifiedVersion version from a ZonedDateTime instance
Construct LastModifiedVersion version from a Long 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
Serves a single-page application. You can learn more from Serving single-page applications.
Default outgoing content transformation