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/*
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getRewrite()
Get 替换值:比如/, /$
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getType()
Get 匹配规,取值范围: WildcardRules 通配符匹配, ExactRules 精确匹配
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setPath(String Path)
Set 需要重路由的路径,取值规范:/,/*,/xxx,/xxx/a,/xxx/*
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setRewrite(String Rewrite)
Set 替换值:比如/, /$
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setType(String Type)
Set 匹配规,取值范围: WildcardRules 通配符匹配, ExactRules 精确匹配
注意:此字段可能返回 null,表示取不到有效值。
|
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, toJsonString
public PathRewriteRule()
public PathRewriteRule(PathRewriteRule source)
public String getPath()
public void setPath(String Path)
Path
- 需要重路由的路径,取值规范:/,/*,/xxx,/xxx/a,/xxx/*
注意:此字段可能返回 null,表示取不到有效值。public String getType()
public void setType(String Type)
Type
- 匹配规,取值范围: WildcardRules 通配符匹配, ExactRules 精确匹配
注意:此字段可能返回 null,表示取不到有效值。public String getRewrite()
public void setRewrite(String Rewrite)
Rewrite
- 替换值:比如/, /$
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2024. All rights reserved.