public class UrlRewriteFilter extends Object implements javax.servlet.Filter
Modifier and Type | Field and Description |
---|---|
static String |
ACTION_AGGREGATE |
static String |
ACTION_ARTIFACT |
static String |
ACTION_AUTHOR |
static String |
ACTION_BRANCHES |
static String |
ACTION_COMMENT |
static String |
ACTION_COMMIT |
static String |
ACTION_CONFIG |
static String |
ACTION_DEPLOYMENTS |
static String |
ACTION_EDIT_CONFIG |
static String |
ACTION_FAILURES |
static String |
ACTION_HISTORY |
static String |
ACTION_ISSUES |
static String |
ACTION_LABEL |
static String |
ACTION_LATEST |
static String |
ACTION_LATEST_SUCCESSFUL |
static String |
ACTION_LOG |
static String |
ACTION_METADATA |
static String |
ACTION_PLAN_LOG |
static String |
ACTION_QUARANTINE |
static String |
ACTION_REPOSITORIES |
static String |
ACTION_STAGES |
static String |
ACTION_TEST |
static String |
ACTION_TEST_CASE |
static String |
ACTION_USER |
static String |
ACTION_WEBHOOKS |
static String |
FILTER_MAP_PREFIX |
static String |
ORIGINAL_URL_PROP |
Constructor and Description |
---|
UrlRewriteFilter() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
void |
doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain) |
static Map<Pattern,String> |
getBuildableUrlMappings() |
static Map<Pattern,String> |
getChainUrlMappings() |
String |
getKey(String patternString,
String replacement,
String path) |
PlanKey |
getPlanKey(String path) |
void |
init(javax.servlet.FilterConfig filterConfig) |
String |
parseUrl(String servletPath) |
public static final String ORIGINAL_URL_PROP
public static final String FILTER_MAP_PREFIX
public static final String ACTION_LABEL
public static final String ACTION_FAILURES
public static final String ACTION_HISTORY
public static final String ACTION_COMMIT
public static final String ACTION_LOG
public static final String ACTION_WEBHOOKS
public static final String ACTION_PLAN_LOG
public static final String ACTION_CONFIG
public static final String ACTION_EDIT_CONFIG
public static final String ACTION_STAGES
public static final String ACTION_BRANCHES
public static final String ACTION_QUARANTINE
public static final String ACTION_AGGREGATE
public static final String ACTION_DEPLOYMENTS
public static final String ACTION_REPOSITORIES
public static final String ACTION_ISSUES
public static final String ACTION_LATEST
public static final String ACTION_LATEST_SUCCESSFUL
public static final String ACTION_TEST
public static final String ACTION_TEST_CASE
public static final String ACTION_ARTIFACT
public static final String ACTION_COMMENT
public static final String ACTION_METADATA
public static final String ACTION_AUTHOR
public static final String ACTION_USER
public void init(javax.servlet.FilterConfig filterConfig) throws javax.servlet.ServletException
init
in interface javax.servlet.Filter
javax.servlet.ServletException
public void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException
doFilter
in interface javax.servlet.Filter
IOException
javax.servlet.ServletException
@Nullable public String parseUrl(@NotNull String servletPath) throws javax.servlet.ServletException
javax.servlet.ServletException
public void destroy()
destroy
in interface javax.servlet.Filter
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.