Class PathResourceResolver

  • All Implemented Interfaces:
    ResourceResolver

    public class PathResourceResolver
    extends AbstractResourceResolver
    A simple ResourceResolver that tries to find a resource under the given locations matching to the request path.

    This resolver does not delegate to the ResourceResolverChain and is expected to be configured at the end in a chain of resolvers.

    Since:
    4.1
    Author:
    Jeremy Grelle, Rossen Stoyanchev, Sam Brannen