public class HttpRequestFilter
extends java.lang.Object
implements javax.servlet.Filter
HttpParametersParser.LocaleContext.
acceptedLocales: A comma or space separated list of application accepted locales, ie
the browser locale must match with one of them, otherwise the default one is used.
defaultLocale: See acceptedLocales
acceptedRoles: An optional comma separated list of application accepted roles.
If specified they are propagated to background tasks and must match roles
defined in "web.xml".
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PARAMETERS_MAP |
| Constructor and Description |
|---|
HttpRequestFilter() |
public void init(javax.servlet.FilterConfig config)
throws javax.servlet.ServletException
init in interface javax.servlet.Filterjavax.servlet.ServletExceptionpublic void destroy()
destroy in interface javax.servlet.Filterpublic void doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain)
throws java.io.IOException,
javax.servlet.ServletException
doFilter in interface javax.servlet.Filterjava.io.IOExceptionjavax.servlet.ServletException