@EachProperty(value="micronaut.router.static-resources") @Indexed(value=ServletStaticResourceConfiguration.class) public interface ServletStaticResourceConfiguration extends io.micronaut.core.util.Toggleable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASSPATH_PREFIX |
static java.lang.String |
FILE_PREFIX |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMapping() |
java.util.List<java.lang.String> |
getPaths() |
boolean |
isEnabled() |
static final java.lang.String CLASSPATH_PREFIX
static final java.lang.String FILE_PREFIX
@Bindable(defaultValue="/**") java.lang.String getMapping()
java.util.List<java.lang.String> getPaths()
@Bindable(defaultValue="true") boolean isEnabled()
isEnabled
in interface io.micronaut.core.util.Toggleable