org.spiffyui.server.filter
Class GWTLocaleFilter

java.lang.Object
  extended by org.spiffyui.server.filter.GWTLocaleFilter
Direct Known Subclasses:
GWTLocaleBundleFilter

public abstract class GWTLocaleFilter
extends java.lang.Object

Filter that will substitute the various markers in retrieved xml and jnlp files with values retrieved from the servlet context.


Constructor Summary
GWTLocaleFilter()
           
 
Method Summary
 void destroy()
           
 void doFilter(ServletRequest request, ServletResponse response, FilterChain chain)
           
protected abstract  java.util.List<java.util.Locale> getMinimumSupportedLocales()
          Get the list of locales supported for this application.
 void init(FilterConfig filterConfig)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GWTLocaleFilter

public GWTLocaleFilter()
Method Detail

init

public void init(FilterConfig filterConfig)

destroy

public void destroy()

doFilter

public final void doFilter(ServletRequest request,
                           ServletResponse response,
                           FilterChain chain)
                    throws java.io.IOException,
                           ServletException
Throws:
java.io.IOException
ServletException

getMinimumSupportedLocales

protected abstract java.util.List<java.util.Locale> getMinimumSupportedLocales()
Get the list of locales supported for this application.

Returns:
the list of supported locales