Class HttpLocalizedMessageSource

java.lang.Object
io.micronaut.context.AbstractLocalizedMessageSource<HttpRequest<?>>
io.micronaut.http.server.util.locale.HttpLocalizedMessageSource
All Implemented Interfaces:
LocalizedMessageSource, RequestAware

@RequestScope public class HttpLocalizedMessageSource extends AbstractLocalizedMessageSource<HttpRequest<?>> implements RequestAware
A RequestScope which uses the current HttpRequest to resolve the locale and hence return the localized messages.
Since:
3.4.0
Author:
Sergio del Amo