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