public class ResourceController
An HTTP endpoint for serving up templated plain text resources from an underlying
repository. Can be used to supply config files for consumption by a wide variety of
applications and services. A ResourceRepository is used to locate a
Resource, specific to an application, and the contents are transformed to text.
Then an EnvironmentRepository is used to supply key-value pairs which are used
to replace placeholders in the resource text.