io.helidon.webserver.staticcontent.ClasspathHandlerConfig
Description
Classpath based static content handler configuration
Configuration options
| Key | Type | Default | Description |
|---|---|---|---|
cached- | List< | A set of files that are cached in memory at startup | |
single- | Boolean | Classpath content usually starts from a Classpath on classpath, and resolves all requested paths against this content root | |
temporary- | Temporary | Customization of temporary storage configuration | |
content- | Map< | Maps a filename extension to the response content type | |
memory- | Memory | Handles will use memory cache configured on Static by default | |
context | String | / | Context that will serve this handler's static resources, defaults to / |
record- | Integer | Configure capacity of cache used for resources | |
location | String | The location on classpath that contains the root of the static content | |
sockets | List< | Sockets names (listeners) that will host this static content handler, defaults to all configured sockets | |
welcome | String | Welcome-file name | |
enabled | Boolean | true | Whether this handle is enabled, defaults to true |
Usages
See the manifest for all available types.