Package io.micronaut.web.router.resource
Class StaticResourceResolver
java.lang.Object
io.micronaut.web.router.resource.StaticResourceResolver
Resolves resources from a set of resource loaders.
- Since:
- 1.0
- Author:
- James Kleeh
-
Field Summary
Modifier and TypeFieldDescriptionstatic final StaticResourceResolver
An empty resolver to use as a constant. -
Method Summary
-
Field Details
-
EMPTY
An empty resolver to use as a constant.
-
-
Method Details
-
resolve
Resolves a path to a URL.- Parameters:
resourcePath
- The path to the resource- Returns:
- The optional URL
-