public class StandardLocaleResolver extends Object implements LocaleResolver
Standard implementation of the LocaleResolver interface.
The locale is simply retrieved from the request.
| Constructor and Description |
|---|
StandardLocaleResolver() |
| Modifier and Type | Method and Description |
|---|---|
Locale |
resolveLocale(javax.servlet.http.HttpServletRequest request)
Resolve the current locale with the given request.
|
public Locale resolveLocale(javax.servlet.http.HttpServletRequest request)
LocaleResolverresolveLocale in interface LocaleResolverrequest - The request used to resolve the locale.Copyright © 2013-2015 Dandelion Project. All Rights Reserved.