com.atlassian.jira.dev.backdoor
Class SlowMotionFilter

java.lang.Object
  extended by com.atlassian.core.filters.AbstractHttpFilter
      extended by com.atlassian.jira.dev.backdoor.SlowMotionFilter
All Implemented Interfaces:
javax.servlet.Filter

public class SlowMotionFilter
extends com.atlassian.core.filters.AbstractHttpFilter

Slows down each request to expose race conditions in browser-based asynchronous integration tests.

Since:
v5.0

Field Summary
static String PROPERTY_KEY_ATLASSIAN_SLOMO
           
 
Constructor Summary
SlowMotionFilter()
           
 
Method Summary
protected  void doFilter(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.FilterChain filterChain)
           
 
Methods inherited from class com.atlassian.core.filters.AbstractHttpFilter
destroy, doFilter, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROPERTY_KEY_ATLASSIAN_SLOMO

public static final String PROPERTY_KEY_ATLASSIAN_SLOMO
See Also:
Constant Field Values
Constructor Detail

SlowMotionFilter

public SlowMotionFilter()
Method Detail

doFilter

protected void doFilter(javax.servlet.http.HttpServletRequest request,
                        javax.servlet.http.HttpServletResponse response,
                        javax.servlet.FilterChain filterChain)
                 throws IOException,
                        javax.servlet.ServletException
Specified by:
doFilter in class com.atlassian.core.filters.AbstractHttpFilter
Throws:
IOException
javax.servlet.ServletException


Copyright © 2002-2012 Atlassian. All Rights Reserved.