public abstract class AbstractStaticResourceAwareFilter
extends com.atlassian.core.filters.AbstractHttpFilter
due to the following change in DefaultServlet http://svn.apache.org/viewvc?view=revision&revision=1845799 our
static resources are no longer served with the correct Content-Type header.
in fact JiraEncodingFilter
happens to set an initial Content-Type header
long before the DefaultServlet is ready to serve the resource
Constructor and Description |
---|
AbstractStaticResourceAwareFilter() |
Modifier and Type | Method and Description |
---|---|
protected void |
doFilter(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain filterChain) |
protected abstract void |
doFilterInternal(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain filterChain) |
protected 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
protected abstract void doFilterInternal(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.FilterChain filterChain) throws IOException, javax.servlet.ServletException
IOException
javax.servlet.ServletException
Copyright © 2002-2024 Atlassian. All Rights Reserved.