T - The context object which will be used to resolve the localepublic interface LocaleResolver<T> extends Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| Modifier and Type | Method and Description | 
|---|---|
| Optional<Locale> | resolve(T context)Resolves the locale for the given context. | 
| Locale | resolveOrDefault(T context)Resolves the local or returns the default locale. |