com.github.dandelion.datatables.jsp.i18n
Class JstlLocaleResolver

java.lang.Object
  extended by com.github.dandelion.datatables.jsp.i18n.JstlLocaleResolver
All Implemented Interfaces:
LocaleResolver

public class JstlLocaleResolver
extends Object
implements LocaleResolver

JSTL implementation of the LocaleResolver.

The locale is retrieved first from the request scope and then from the session scope.

Since:
0.9.0
Author:
Thibault Duchateau

Constructor Summary
JstlLocaleResolver()
           
 
Method Summary
 Locale resolveLocale(javax.servlet.http.HttpServletRequest request)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JstlLocaleResolver

public JstlLocaleResolver()
Method Detail

resolveLocale

public Locale resolveLocale(javax.servlet.http.HttpServletRequest request)
Specified by:
resolveLocale in interface LocaleResolver


Copyright © 2013. All Rights Reserved.