Skip to content

io.helidon.webserver.staticcontent.StaticContentFeature

Description

Configuration of Static content feature

Configuration options

KeyTypeDefaultDescription
pathList<FileSystemHandlerConfig>List of file system based static content handlers
temporary-storageTemporaryStorageTemporary storage to use across all classpath handlers
content-typesMap<String, StaticContentMethods>Maps a filename extension to the response content type
classpathList<ClasspathHandlerConfig>List of classpath based static content handlers
memory-cacheMemoryCacheMemory cache shared by the whole feature
weightDouble95.0Weight of the static content feature
socketsList<String>Sockets names (listeners) that will host static content handlers, defaults to all configured sockets
welcomeStringWelcome-file name
enabledBooleantrueWhether this feature is enabled, defaults to true

Usages


See the manifest for all available types.