public class PathMatchingEncodingFilter
extends com.atlassian.core.filters.AbstractHttpFilter
implements javax.servlet.Filter
For some paths (currently only REST API) we want to always enforce standard (UTF-8) encoding, for others the traditional, JIRA application property-based filter is used.
Constructor and Description |
---|
PathMatchingEncodingFilter() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
void |
doFilter(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain filterChain) |
void |
init(javax.servlet.FilterConfig filterConfig) |
public void init(javax.servlet.FilterConfig filterConfig) throws javax.servlet.ServletException
init
in interface javax.servlet.Filter
init
in class com.atlassian.core.filters.AbstractHttpFilter
javax.servlet.ServletException
public void doFilter(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.FilterChain filterChain) throws IOException, javax.servlet.ServletException
doFilter
in class com.atlassian.core.filters.AbstractHttpFilter
IOException
javax.servlet.ServletException
public void destroy()
destroy
in interface javax.servlet.Filter
destroy
in class com.atlassian.core.filters.AbstractHttpFilter
Copyright © 2002-2021 Atlassian. All Rights Reserved.