Interface ServletStaticResourceConfiguration
- All Superinterfaces:
io.micronaut.core.util.Toggleable
@EachProperty("micronaut.router.static-resources")
@Indexed(ServletStaticResourceConfiguration.class)
public interface ServletStaticResourceConfiguration
extends io.micronaut.core.util.Toggleable
Configuration for static resources for servlet engines.
- Since:
- 1.0.0
- Author:
- graemerocher
-
Field Details
-
CLASSPATH_PREFIX
- See Also:
-
FILE_PREFIX
- See Also:
-
-
Method Details
-
getMapping
- Returns:
- The mapping
-
getPaths
- Returns:
- The paths
-
isEnabled
@Bindable(defaultValue="true") boolean isEnabled()- Specified by:
isEnabled
in interfaceio.micronaut.core.util.Toggleable
-