public class NuxeoEncodingFilter extends Object implements javax.servlet.Filter
See NXP-5555: the first parsing of the request is cached, so it should be done with the right encoding. See NXP-12862: we must pass the X-UA-Compatible meta in the header.
Constructor and Description |
---|
NuxeoEncodingFilter() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
void |
doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain) |
void |
init(javax.servlet.FilterConfig filterConfig) |
public NuxeoEncodingFilter()
public void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException
doFilter
in interface javax.servlet.Filter
IOException
javax.servlet.ServletException
public void destroy()
destroy
in interface javax.servlet.Filter
public void init(javax.servlet.FilterConfig filterConfig) throws javax.servlet.ServletException
init
in interface javax.servlet.Filter
javax.servlet.ServletException
Copyright © 2018 Nuxeo. All rights reserved.