public class RewriteUtil extends Object
Constructor and Description |
---|
RewriteUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
expand(String varName,
javax.servlet.http.HttpServletRequest request)
展开变量。
|
static String |
format(String testString,
javax.servlet.http.HttpServletRequest request) |
static MatchResultSubstitution |
getMatchResultSubstitution(MatchResult ruleMatchResult,
MatchResult conditionMatchResult) |
static String |
getSubstitutedTestString(String testString,
MatchResult ruleMatchResult,
MatchResult conditionMatchResult,
javax.servlet.http.HttpServletRequest request) |
static boolean |
isFullURL(String path) |
public static boolean isFullURL(String path)
public static MatchResultSubstitution getMatchResultSubstitution(MatchResult ruleMatchResult, MatchResult conditionMatchResult)
public static String getSubstitutedTestString(String testString, MatchResult ruleMatchResult, MatchResult conditionMatchResult, javax.servlet.http.HttpServletRequest request)
public static String format(String testString, javax.servlet.http.HttpServletRequest request)
Copyright © 2006–2018 TinyGroup. All rights reserved.