Interface IStaticResourceRegistry
public interface IStaticResourceRegistry
-
Method Summary
Modifier and TypeMethodDescriptionSpecify an URL path prefix which will be bound to a directory to serve files from.
-
Method Details
-
bind
Specify an URL path prefix which will be bound to a directory to serve files from. Multiple providers can be assigned the same URL prefix. ExtensionInfo controllers with a matching path will override static resource paths. The resources will appear as a sub-folder of${web.paths.prefixes.resource}
which defaults to/static-resources/
- Parameters:
rootUrl
- URL path prefix, must be prefixed with '/'- Returns:
- a binder which can be used to configure static resources
-