Skip to content

io.helidon.webserver.staticcontent.FileSystemHandlerConfig

Description

File system based static content handler configuration

Configuration options

KeyTypeDefaultDescription
cached-filesList<String>A set of files that are cached in memory at startup
content-typesMap<String, BaseMethods>Maps a filename extension to the response content type
memory-cacheMemoryCacheHandles will use memory cache configured on StaticContentConfig#memoryCache() by default
contextString/Context that will serve this handler's static resources, defaults to /
record-cache-capacityIntegerConfigure capacity of cache used for resources
locationPathThe directory (or a single file) that contains the root of the static content
socketsList<String>Sockets names (listeners) that will host this static content handler, defaults to all configured sockets
welcomeStringWelcome-file name
enabledBooleantrueWhether this handle is enabled, defaults to true

Usages


See the manifest for all available types.