org.nuxeo.ecm.platform.web.common.encoding
Class NuxeoEncodingFilter
java.lang.Object
org.nuxeo.ecm.platform.web.common.encoding.NuxeoEncodingFilter
- All Implemented Interfaces:
- Filter
public class NuxeoEncodingFilter
- extends Object
- implements Filter
Filter that sets encoding to UTF-8, before any other filter tries to parse
the request.
See NXP-5555: the first parsing of the request is cached, so it should be
done with the right encoding.
- Since:
- 5.4.2
- Author:
- Anahide Tchertchian
NuxeoEncodingFilter
public NuxeoEncodingFilter()
doFilter
public void doFilter(ServletRequest request,
ServletResponse response,
FilterChain chain)
throws IOException,
ServletException
- Specified by:
doFilter
in interface Filter
- Throws:
IOException
ServletException
destroy
public void destroy()
- Specified by:
destroy
in interface Filter
init
public void init(FilterConfig filterConfig)
throws ServletException
- Specified by:
init
in interface Filter
- Throws:
ServletException
Copyright © 2011 Nuxeo SAS. All Rights Reserved.