io.helidon.webserver.staticcontent.StaticContentFeature
Description
Configuration of Static content feature
Configuration options
| Key | Type | Default | Description |
|---|---|---|---|
path | List< | List of file system based static content handlers | |
temporary- | Temporary | Temporary storage to use across all classpath handlers | |
content- | Map< | Maps a filename extension to the response content type | |
classpath | List< | List of classpath based static content handlers | |
memory- | Memory | Memory cache shared by the whole feature | |
weight | Double | 95. | Weight of the static content feature |
sockets | List< | 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.