/** * Get the locale of the request. Attempts to decode the Accept-Language header and if not found * returns the default locale of the JVM. * * @return The locale */ @Override public Locale getLocale() { return getLocales().nextElement(); }
/** * Get the locale of the request. Attempts to decode the Accept-Language header and if not found * returns the default locale of the JVM. * * @return The locale */ @Override public Locale getLocale() { return getLocales().nextElement(); }