public class SkipCondition extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| SkipCondition() | 
| SkipCondition(SkipCondition 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[] | getMatchContent()Get 匹配Value的值。 | 
| String | getMatchContentType()Get 匹配Content所使用的匹配方式,取值为:
equal:精准匹配,等于;
wildcard:通配符匹配,支持 * 通配。 | 
| String[] | getMatchFrom()Get 匹配Key的值。 | 
| String | getMatchFromType()Get 匹配Key所使用的匹配方式,取值为:
equal:精准匹配,等于;
wildcard:通配符匹配,支持 * 通配。 | 
| String | getSelector()Get 选择跳过的字段,取值为:
args:uri 下选择 query 参数: ?name1=jack&age=12;
path:uri 下选择部分路径:/path/to/resource.jpg;
full:uri 下选择完整路径:example.com/path/to/resource.jpg?name1=jack&age=12;
upload_filename:分段文件名,即分段传输文件时;
keys:所有的Key;
values:匹配Key对应的值;
key_value:匹配Key及匹配Value。 | 
| String | getType()Get 例外跳过类型,取值为:
header_fields:HTTP请求Header;
cookie:HTTP请求Cookie;
query_string:HTTP请求URL中的Query参数;
uri:HTTP请求URI;
body_raw:HTTP请求Body;
body_json: JSON格式的HTTP Body。 | 
| void | setMatchContent(String[] MatchContent)Set 匹配Value的值。 | 
| void | setMatchContentType(String MatchContentType)Set 匹配Content所使用的匹配方式,取值为:
equal:精准匹配,等于;
wildcard:通配符匹配,支持 * 通配。 | 
| void | setMatchFrom(String[] MatchFrom)Set 匹配Key的值。 | 
| void | setMatchFromType(String MatchFromType)Set 匹配Key所使用的匹配方式,取值为:
equal:精准匹配,等于;
wildcard:通配符匹配,支持 * 通配。 | 
| void | setSelector(String Selector)Set 选择跳过的字段,取值为:
args:uri 下选择 query 参数: ?name1=jack&age=12;
path:uri 下选择部分路径:/path/to/resource.jpg;
full:uri 下选择完整路径:example.com/path/to/resource.jpg?name1=jack&age=12;
upload_filename:分段文件名,即分段传输文件时;
keys:所有的Key;
values:匹配Key对应的值;
key_value:匹配Key及匹配Value。 | 
| void | setType(String Type)Set 例外跳过类型,取值为:
header_fields:HTTP请求Header;
cookie:HTTP请求Cookie;
query_string:HTTP请求URL中的Query参数;
uri:HTTP请求URI;
body_raw:HTTP请求Body;
body_json: JSON格式的HTTP Body。 | 
| 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 SkipCondition()
public SkipCondition(SkipCondition source)
public String getType()
public void setType(String Type)
Type - 例外跳过类型,取值为:
public String getSelector()
public void setSelector(String Selector)
Selector - 选择跳过的字段,取值为:
public String getMatchFromType()
public void setMatchFromType(String MatchFromType)
MatchFromType - 匹配Key所使用的匹配方式,取值为:
public String[] getMatchFrom()
public void setMatchFrom(String[] MatchFrom)
MatchFrom - 匹配Key的值。public String getMatchContentType()
public void setMatchContentType(String MatchContentType)
MatchContentType - 匹配Content所使用的匹配方式,取值为:
public String[] getMatchContent()
public void setMatchContent(String[] MatchContent)
MatchContent - 匹配Value的值。Copyright © 2025. All rights reserved.