com.atlassian.jira.web.filters
Class JiraStaticAssetsFilter

java.lang.Object
  extended by com.atlassian.jira.web.filters.JiraStaticAssetsFilter
All Implemented Interfaces:
javax.servlet.Filter

public class JiraStaticAssetsFilter
extends Object
implements javax.servlet.Filter

This filter is used to serve static filed through default RequestDispatcher.

It means that all requests which contains this filter will not be passed further along the chain.

JiraStaticAssetsFilter was introduced during JRADEV-21366 to serve static files regardless the state of JIRA stack underneath.

Since:
6.1

Constructor Summary
JiraStaticAssetsFilter()
           
 
Method Summary
 void destroy()
           
 void doFilter(javax.servlet.ServletRequest req, javax.servlet.ServletResponse resp, javax.servlet.FilterChain chain)
           
 void init(javax.servlet.FilterConfig config)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JiraStaticAssetsFilter

public JiraStaticAssetsFilter()
Method Detail

init

public void init(javax.servlet.FilterConfig config)
          throws javax.servlet.ServletException
Specified by:
init in interface javax.servlet.Filter
Throws:
javax.servlet.ServletException

doFilter

public void doFilter(javax.servlet.ServletRequest req,
                     javax.servlet.ServletResponse resp,
                     javax.servlet.FilterChain chain)
              throws javax.servlet.ServletException,
                     IOException
Specified by:
doFilter in interface javax.servlet.Filter
Throws:
javax.servlet.ServletException
IOException

destroy

public void destroy()
Specified by:
destroy in interface javax.servlet.Filter


Copyright © 2002-2014 Atlassian. All Rights Reserved.