Description

Configuration of Static content feature.

Usages

Configuration options

KeyKindTypeDefault ValueDescription
classpathLISTi.h.w.s.ClasspathHandlerConfig List of classpath based static content handlers
content-typesMAPi.h.w.s.S.StaticContentMethods Maps a filename extension to the response content type
enabledVALUEBooleantrueWhether this feature is enabled, defaults to true
memory-cacheVALUEi.h.w.s.MemoryCache Memory cache shared by the whole feature
pathLISTi.h.w.s.FileSystemHandlerConfig List of file system based static content handlers
socketsLISTString Sockets names (listeners) that will host static content handlers, defaults to all configured sockets
temporary-storageVALUEi.h.w.s.TemporaryStorage Temporary storage to use across all classpath handlers
weightVALUEDouble95.0Weight of the static content feature
welcomeVALUEString Welcome-file name

See the manifest for all available types.