Package io.quarkus.vertx.http.runtime
Interface StaticResourcesConfig
public interface StaticResourcesConfig
-
Method Summary
Modifier and TypeMethodDescriptionSet the cache entry timeout.booleanSet whether cache handling is enabled.Content encoding for text related filesbooleanSet whether range requests (resumable downloads; media streaming) should be enabled.booleanSet whether hidden files should be served.Set the index page when serving static resources.maxAge()Set value for max age in caching headers.intSet the max cache size.
-
Method Details
-
indexPage
Set the index page when serving static resources. -
includeHidden
@WithDefault("true") boolean includeHidden()Set whether hidden files should be served. -
enableRangeSupport
@WithDefault("true") boolean enableRangeSupport()Set whether range requests (resumable downloads; media streaming) should be enabled. -
cachingEnabled
@WithDefault("true") boolean cachingEnabled()Set whether cache handling is enabled. -
cacheEntryTimeout
Set the cache entry timeout. The default is30seconds. -
maxAge
Set value for max age in caching headers. The default is24hours. -
maxCacheSize
@WithDefault("10000") int maxCacheSize()Set the max cache size. -
contentEncoding
Content encoding for text related files
-