public class PathRewriteRule extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| PathRewriteRule() | 
| PathRewriteRule(PathRewriteRule source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getPath()Get 需要重路由的路径,取值规范:/,/*,/xxx,/xxx/a,/xxx/* | 
| String | getRewrite()Get 替换值:比如/, /$ | 
| String | getType()Get 匹配规,取值范围: WildcardRules 通配符匹配, ExactRules 精确匹配 | 
| void | setPath(String Path)Set 需要重路由的路径,取值规范:/,/*,/xxx,/xxx/a,/xxx/* | 
| void | setRewrite(String Rewrite)Set 替换值:比如/, /$ | 
| void | setType(String Type)Set 匹配规,取值范围: WildcardRules 通配符匹配, ExactRules 精确匹配 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic PathRewriteRule()
public PathRewriteRule(PathRewriteRule source)
public String getPath()
public void setPath(String Path)
Path - 需要重路由的路径,取值规范:/,/*,/xxx,/xxx/a,/xxx/*public String getType()
public void setType(String Type)
Type - 匹配规,取值范围: WildcardRules 通配符匹配, ExactRules 精确匹配public String getRewrite()
public void setRewrite(String Rewrite)
Rewrite - 替换值:比如/, /$Copyright © 2025. All rights reserved.