Interface ServletStaticResourceConfiguration
- All Superinterfaces:
- io.micronaut.core.util.Toggleable
@Deprecated(forRemoval=true,
            since="5.2.0")
public interface ServletStaticResourceConfiguration
extends io.micronaut.core.util.Toggleable
Deprecated, for removal: This API element is subject to removal in a future version.
Configuration for static resources for servlet engines.
- Since:
- 1.0.0
- Author:
- graemerocher
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final StringDeprecated, for removal: This API element is subject to removal in a future version.static final StringDeprecated, for removal: This API element is subject to removal in a future version.static final StringDeprecated, for removal: This API element is subject to removal in a future version.
- 
Method SummaryModifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.For Jetty based servers, allow configuring the cache control header for static resource mappings (defaults to "private,max-age=60").Deprecated, for removal: This API element is subject to removal in a future version.getPaths()Deprecated, for removal: This API element is subject to removal in a future version.booleanDeprecated, for removal: This API element is subject to removal in a future version.
- 
Field Details- 
CLASSPATH_PREFIXDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
 
- 
FILE_PREFIXDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
 
- 
DEFAULT_CACHE_CONTROL_HEADERDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
 
 
- 
- 
Method Details- 
getMappingDeprecated, for removal: This API element is subject to removal in a future version.- Returns:
- The mapping
 
- 
getPathsDeprecated, for removal: This API element is subject to removal in a future version.- Returns:
- The paths
 
- 
isEnabled@Bindable(defaultValue="true") boolean isEnabled()Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
- isEnabledin interface- io.micronaut.core.util.Toggleable
 
- 
getCacheControlDeprecated, for removal: This API element is subject to removal in a future version.For Jetty based servers, allow configuring the cache control header for static resource mappings (defaults to "private,max-age=60").- Returns:
- The cache control header
- Since:
- 4.0.4
 
 
- 
ServletStaticResourceConfigurationinstead