public class RequestEncodingFilter extends Object implements javax.servlet.Filter
Modifier and Type | Field and Description |
---|---|
static String |
INIT_PARAM_NAME_ENCODING
The init parameter name for the encoding (defaults to UTF-8).
|
static String |
INIT_PARAM_NAME_FORCE
The init parameter name for the force encoding property (defaults to false).
|
Constructor and Description |
---|
RequestEncodingFilter() |
public static final String INIT_PARAM_NAME_ENCODING
public static final String INIT_PARAM_NAME_FORCE
public void init(javax.servlet.FilterConfig cfg) throws javax.servlet.ServletException
init
in interface javax.servlet.Filter
javax.servlet.ServletException
public void doFilter(javax.servlet.ServletRequest req, javax.servlet.ServletResponse res, 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
Copyright © 2012-2013. All Rights Reserved.