com.atlassian.bamboo.filter
Class UrlRewriteFilter

java.lang.Object
  extended by com.atlassian.bamboo.filter.UrlRewriteFilter
All Implemented Interfaces:
javax.servlet.Filter

public class UrlRewriteFilter
extends java.lang.Object
implements javax.servlet.Filter


Field Summary
static java.lang.String ACTION_ARTIFACT
           
static java.lang.String ACTION_AUTHOR
           
static java.lang.String ACTION_COMMENT
           
static java.lang.String ACTION_COMMIT
           
static java.lang.String ACTION_CONFIG
           
static java.lang.String ACTION_HISTORY
           
static java.lang.String ACTION_ISSUES
           
static java.lang.String ACTION_LABEL
           
static java.lang.String ACTION_LATEST
           
static java.lang.String ACTION_LOG
           
static java.lang.String ACTION_METADATA
           
static java.lang.String ACTION_TEST
           
static java.lang.String ACTION_TEST_CASE
           
static java.lang.String ACTION_TEST_CLASS
           
static java.lang.String ACTION_USER
           
static java.lang.String FILTER_MAP_PREFIX
           
 
Constructor Summary
UrlRewriteFilter()
           
 
Method Summary
 void destroy()
           
 void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain)
           
 BuildManager getBuildManager()
           
 void init(javax.servlet.FilterConfig filterConfig)
           
 java.lang.String parseUrl(java.lang.String servletPath)
           
 void setBuildManager(BuildManager buildManager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FILTER_MAP_PREFIX

public static final java.lang.String FILTER_MAP_PREFIX
See Also:
Constant Field Values

ACTION_LABEL

public static final java.lang.String ACTION_LABEL
See Also:
Constant Field Values

ACTION_HISTORY

public static final java.lang.String ACTION_HISTORY
See Also:
Constant Field Values

ACTION_COMMIT

public static final java.lang.String ACTION_COMMIT
See Also:
Constant Field Values

ACTION_LOG

public static final java.lang.String ACTION_LOG
See Also:
Constant Field Values

ACTION_CONFIG

public static final java.lang.String ACTION_CONFIG
See Also:
Constant Field Values

ACTION_ISSUES

public static final java.lang.String ACTION_ISSUES
See Also:
Constant Field Values

ACTION_LATEST

public static final java.lang.String ACTION_LATEST
See Also:
Constant Field Values

ACTION_TEST

public static final java.lang.String ACTION_TEST
See Also:
Constant Field Values

ACTION_TEST_CLASS

public static final java.lang.String ACTION_TEST_CLASS
See Also:
Constant Field Values

ACTION_TEST_CASE

public static final java.lang.String ACTION_TEST_CASE
See Also:
Constant Field Values

ACTION_ARTIFACT

public static final java.lang.String ACTION_ARTIFACT
See Also:
Constant Field Values

ACTION_COMMENT

public static final java.lang.String ACTION_COMMENT
See Also:
Constant Field Values

ACTION_METADATA

public static final java.lang.String ACTION_METADATA
See Also:
Constant Field Values

ACTION_AUTHOR

public static final java.lang.String ACTION_AUTHOR
See Also:
Constant Field Values

ACTION_USER

public static final java.lang.String ACTION_USER
See Also:
Constant Field Values
Constructor Detail

UrlRewriteFilter

public UrlRewriteFilter()
Method Detail

init

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

doFilter

public void doFilter(javax.servlet.ServletRequest request,
                     javax.servlet.ServletResponse response,
                     javax.servlet.FilterChain chain)
              throws java.io.IOException,
                     javax.servlet.ServletException
Specified by:
doFilter in interface javax.servlet.Filter
Throws:
java.io.IOException
javax.servlet.ServletException

parseUrl

public java.lang.String parseUrl(java.lang.String servletPath)
                          throws javax.servlet.ServletException
Throws:
javax.servlet.ServletException

destroy

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

getBuildManager

public BuildManager getBuildManager()

setBuildManager

public void setBuildManager(BuildManager buildManager)


Copyright © 2010 Atlassian. All Rights Reserved.