Package io.quarkus.vertx.http.runtime
Class StaticResourcesConfig
java.lang.Object
io.quarkus.vertx.http.runtime.StaticResourcesConfig
-
Field Summary
FieldsModifier and TypeFieldDescriptionSet the cache entry timeout.booleanSet whether cache handling is enabled.booleanSet 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.Set value for max age in caching headers.intSet the max cache size. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
indexPage
Set the index page when serving static resources. -
includeHidden
Set whether hidden files should be served. -
enableRangeSupport
Set whether range requests (resumable downloads; media streaming) should be enabled. -
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
Set the max cache size.
-
-
Constructor Details
-
StaticResourcesConfig
public StaticResourcesConfig()
-