com.dotmarketing.filters
Class CharsetEncodingFilter

java.lang.Object
  extended by com.dotmarketing.filters.CharsetEncodingFilter

public class CharsetEncodingFilter
extends java.lang.Object

Ensures the proper encoding of ServletRequest and ServletResponse for the sake of i18n.

Version:
1.0, 2.0
Author:
Dimitris Zavaliadis, David Torres

Constructor Summary
CharsetEncodingFilter()
           
 
Method Summary
 void destroy()
           
 void doFilter(ServletRequest request, ServletResponse response, FilterChain filterChain)
           
 void init(FilterConfig arg0)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CharsetEncodingFilter

public CharsetEncodingFilter()
Method Detail

init

public void init(FilterConfig arg0)
          throws ServletException
Throws:
ServletException

doFilter

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

destroy

public void destroy()


Copyright © 2010 dotCMS Inc. All Rights Reserved.