Class CharacterEncodingFilter
java.lang.Object
net.sf.basedb.clients.web.servlet.CharacterEncodingFilter
- All Implemented Interfaces:
Filter
This is a filter that sets the character encoding for both the
request and the response. The default encoding is UTF-8.
- Version:
- 2.0
- Author:
- Nicklas
- Last modified
- $Date: 2010-08-13 10:50:27 +0200 (fr, 13 aug 2010) $
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
destroy()
void
doFilter
(ServletRequest request, ServletResponse response, FilterChain chain) void
init
(FilterConfig config)
-
Field Details
-
characterEncoding
-
-
Constructor Details
-
CharacterEncodingFilter
public CharacterEncodingFilter()
-
-
Method Details
-
init
-
destroy
public void destroy() -
doFilter
public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException - Specified by:
doFilter
in interfaceFilter
- Throws:
IOException
ServletException
-