{8.2.0-updated} Messages
The {@link oajr.annotation.Rest#messages @Rest(messages)} annotation identifies the location of the resource bundle
for a
By default, the resource bundle name is assumed to match the class name. For example, given the class
Resource bundles are searched using the following base name patterns:
This annotation is used to provide request-localized (based on
Request-localized messages are also available by passing either of the following parameter types into your Java method:
The value can be a relative path like
When using shared resource bundles, keys can be prefixed by class names like so and still retrieve by simple key names:
Messages are automatically inherited from super classes. If a string cannot be found in the bundle of the current class, it will be searched for up the class hierarchy.