io.helidon.webserver.staticcontent.StaticContentFeature
Description
Configuration of Static content feature
Configuration options
| Key | Type | Default | Description |
|---|---|---|---|
path | List<FileSystemHandlerConfig> | List of file system based static content handlers | |
temporary-storage | TemporaryStorage | Temporary storage to use across all classpath handlers | |
content-types | Map<String, StaticContentMethods> | Maps a filename extension to the response content type | |
classpath | List<ClasspathHandlerConfig> | List of classpath based static content handlers | |
memory-cache | MemoryCache | Memory cache shared by the whole feature | |
weight | Double | 95.0 | Weight of the static content feature |
sockets | List<String> | Sockets names (listeners) that will host static content handlers, defaults to all configured sockets | |
welcome | String | Welcome-file name | |
enabled | Boolean | true | Whether this feature is enabled, defaults to true |
Usages
See the manifest for all available types.