Default of whether async filesystem access should always be used
Default cache entry timeout, when caching
Default of whether cache header handling is enabled
Default of whether directory listing is enabled
Default template file to use for directory listing
Default of whether fs async/sync tuning should be used
Default value of whether files are read -only and never will be updated
Default of whether hidden files can be served
The default index page
Default max age for cache headers
Default max avg serve time, in ns, over which serving will be considered slow
The default max cache size
Default of whether Range request handling support should be used
Default of whether access to the root of the file system should be allowed or just allow from the current working directory.
Default of whether vary header should be sent.
Default value of the web-root, where files are served from
Enable/Disable access to the root of the filesystem
Set whether async filesystem access should always be used
Set the server cache entry timeout when caching is enabled
Set whether cache header handling is enabled
Set the default content encoding for text related files. This allows overriding the system settings default value.
Set whether directory listing is enabled
Set the directory template to be used when directory listing
Set whether async/sync filesystem tuning should enabled
Set whether range requests (resumable downloads; media streaming) should be enabled.
Set whether files are read-only and will never change
Set the file mapping for http2push and link preload
Set whether hidden files should be served
Set the index page
Set value for max age in caching headers
Set the max serve time in ns, above which serves are considered slow
Set the max cache size, when caching is enabled
Set whether vary header should be sent with response.
Set the web root
Skip compression if the media type of the file to send is in the provided
mediaTypes
set.
Content-Encoding
header set to identity
for the types present
in the mediaTypes
set
Skip compression if the suffix of the file to send is in the provided
fileSuffixes
set.
Content-Encoding
header set to identity
for the suffixes
present in the fileSuffixes
set
Create a handler using defaults
Create a handler, specifying web-root
Create a handler, specifying web-root and access option: absolute path or relative
Generated using TypeDoc
A handler for serving static resources from the file system or classpath.