Package ru.vyarus.guicey.gsp.views
Interface ViewRendererConfigurationModifier
public interface ViewRendererConfigurationModifier
Dropwizard views configuration modifier. The main purpose is to provide default values for
exact template engine (for example, application may configure default common templates for freemarker).
View configuration is global and so only one server pages application could actually declare it (usually bind from main configuration object). This modifier could be used in all server pages applications applying required changes to the global configuration.
Each modifier is registered for exact renderer and so don't have to deal with map of maps (global configuration).
-
Method Summary
-
Method Details
-
modify
This map is automatically created if global configuration object did not contain it yet. All modifiers targeted the same renderer will receive the same map. Modifiers execution order is not predefined.- Parameters:
config- configuration map for exact renderer- See Also:
-