On 10.06.2015, at 09:53, Oliver Lietz <[email protected]> wrote: > is the type of parameter request in resolveLocale(HttpServletRequest request) > a bug? Shouldn't that be SlingHttpServletRequest like it is in LocaleResolver > and described in javadoc instead?
No, this might be called in the filter chain before sling request/response objects are available: https://github.com/apache/sling/blob/trunk/bundles/extensions/i18n/src/main/java/org/apache/sling/i18n/impl/I18NFilter.java#L114-L126 Cheers, Alex
