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.boolean
Set whether cache handling is enabled.boolean
Set whether range requests (resumable downloads; media streaming) should be enabled.boolean
Set whether hidden files should be served.Set the index page when serving static resources.Set value for max age in caching headers.int
Set 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 is30
seconds. -
maxAge
Set value for max age in caching headers. The default is24
hours. -
maxCacheSize
Set the max cache size.
-
-
Constructor Details
-
StaticResourcesConfig
public StaticResourcesConfig()
-