Class StaticResourceResolver

java.lang.Object
io.micronaut.web.router.resource.StaticResourceResolver

public class StaticResourceResolver extends Object
Resolves resources from a set of resource loaders.
Since:
1.0
Author:
James Kleeh
  • Field Details

  • Method Details

    • resolve

      public Optional<URL> resolve(String resourcePath)
      Resolves a path to a URL.
      Parameters:
      resourcePath - The path to the resource
      Returns:
      The optional URL