class WebResourcesConfig
Web resources serve configuration
WebResourcesConfig()
Web resources serve configuration |
val excludes: MutableList<(String) -> Boolean>
Path predicates to be excluded. By default WEB-INF directory is excluded.
A path provided to a predicate is always slash-separated ( |
|
val includes: MutableList<(String) -> Boolean>
Path predicates to be included. All files will be served if no include rules specified.
A path provided to a predicate is always slash-separated ( |
|
var mimeResolve: (String) -> ContentType
Content-type resolution, uses defaultForFileExtension by default |
fun exclude(predicate: (path: String) -> Boolean): Unit
|
|
fun include(predicate: (path: String) -> Boolean): Unit
|