Interface ResourceResolver

All Known Subinterfaces:
ResourceCapableCacheDataImporterExporter.CacheResourceResolver, ResourceCapableCacheDataImporterExporter.ExportResourceResolver, ResourceCapableCacheDataImporterExporter.ImportResourceResolver
All Known Implementing Classes:
ResourceCapableCacheDataImporterExporter.AbstractCacheResourceResolver, ResourceCapableCacheDataImporterExporter.AbstractExportResourceResolver, ResourceCapableCacheDataImporterExporter.AbstractImportResourceResolver, ResourceCapableCacheDataImporterExporter.ClassPathImportResourceResolver, ResourceCapableCacheDataImporterExporter.FileSystemExportResourceResolver, ResourceLoaderResourceResolver, SingleResourceResolver
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ResourceResolver
Interface defining a contract encapsulating an algorithm/strategy for resolving Resources.
Since:
1.3.1.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the ClassLoader used by this ResourceResolver to resolve classpath Resources.
    default org.springframework.core.io.Resource
    require(String location)
    Returns a non-null, existing Resource handle resolved from the given, non-null location (e.g.
    Optional<org.springframework.core.io.Resource>
    resolve(String location)
    Tries to resolve a Resource handle from the given, non-null location (e.g.