public class URLPath extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| URLPath() | 
| URLPath(URLPath 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 | getAction()Get 执行动作,取值有:
follow:跟随请求;
custom:自定义;
regex:正则匹配。 | 
| String | getRegex()Get 正则匹配的表达式,长度范围为 1~1024。 注意:当 Action 为 regex 时,此字段必填;当 Action 为 follow 或 custom 时,无需填写此字段,若填写则不生效。 | 
| String | getValue()Get 重定向的目标URL,长度范围为 1~1024。 注意:当 Action 为 regex 或 custom 时,此字段必填;当 Action 为 follow 时,无需填写此字段,若填写则不生效。 | 
| void | setAction(String Action)Set 执行动作,取值有:
follow:跟随请求;
custom:自定义;
regex:正则匹配。 | 
| void | setRegex(String Regex)Set 正则匹配的表达式,长度范围为 1~1024。 注意:当 Action 为 regex 时,此字段必填;当 Action 为 follow 或 custom 时,无需填写此字段,若填写则不生效。 | 
| void | setValue(String Value)Set 重定向的目标URL,长度范围为 1~1024。 注意:当 Action 为 regex 或 custom 时,此字段必填;当 Action 为 follow 时,无需填写此字段,若填写则不生效。 | 
| 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 URLPath()
public URLPath(URLPath source)
public String getAction()
public void setAction(String Action)
Action - 执行动作,取值有:
public String getRegex()
public void setRegex(String Regex)
Regex - 正则匹配的表达式,长度范围为 1~1024。public String getValue()
public void setValue(String Value)
Value - 重定向的目标URL,长度范围为 1~1024。Copyright © 2025. All rights reserved.