Package com.atlassian.bamboo.filter
Class BambooEncodingFilter
java.lang.Object
com.atlassian.core.filters.AbstractHttpFilter
com.atlassian.core.filters.encoding.AbstractEncodingFilter
com.atlassian.bamboo.filter.BambooEncodingFilter
- All Implemented Interfaces:
javax.servlet.Filter
public class BambooEncodingFilter
extends com.atlassian.core.filters.encoding.AbstractEncodingFilter
Sets encoding, content type, and wraps response with
FixedHtmlEncodingResponseWrapper
Applied only to plugins servlet to avoid problems with artifacts and static resources.
See also com.atlassian.jira.web.filters.JiraStaticResourceAwareEncodingFilter
-
Constructor Summary
-
Method Summary
Methods inherited from class com.atlassian.core.filters.encoding.AbstractEncodingFilter
doFilter
Methods inherited from class com.atlassian.core.filters.AbstractHttpFilter
destroy, doFilter
-
Constructor Details
-
BambooEncodingFilter
public BambooEncodingFilter() -
BambooEncodingFilter
-
-
Method Details
-
init
public void init(javax.servlet.FilterConfig filterConfig) throws javax.servlet.ServletException - Specified by:
init
in interfacejavax.servlet.Filter
- Overrides:
init
in classcom.atlassian.core.filters.AbstractHttpFilter
- Throws:
javax.servlet.ServletException
-
getContentType
- Specified by:
getContentType
in classcom.atlassian.core.filters.encoding.AbstractEncodingFilter
-
getEncoding
- Specified by:
getEncoding
in classcom.atlassian.core.filters.encoding.AbstractEncodingFilter
-