Package io.micronaut.web.router.resource
Class StaticResourceResolverFactory
java.lang.Object
io.micronaut.web.router.resource.StaticResourceResolverFactory
A factory for creating the default
StaticResourceResolver
.- Since:
- 3.1.0
- Author:
- graemerocher
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected @NonNull StaticResourceResolver
build
(List<StaticResourceConfiguration> configurations) Builds theStaticResourceResolver
instance.
-
Constructor Details
-
StaticResourceResolverFactory
public StaticResourceResolverFactory()
-
-
Method Details
-
build
@Singleton @NonNull protected @NonNull StaticResourceResolver build(List<StaticResourceConfiguration> configurations) Builds theStaticResourceResolver
instance.- Parameters:
configurations
- The configurations- Returns:
- The
StaticResourceResolver
-