public interface Resolver
extends sirius.kernel.di.std.Priorized
Register.
This is used by the Resources.resolve(String) to lookup resources.
| Modifier and Type | Method and Description |
|---|---|
Resource |
resolve(String scopeId,
String resource)
Resolves the given resource into an URL.
|
Resource resolve(@Nonnull String scopeId, @Nonnull String resource)
scopeId - the id of the currently active scoperesource - the resource to resolve. This will always start with a "/"Resource pointing to the data to use or null if this resolver
cannot resolve the given resourceCopyright © 2018. All rights reserved.