Class SkipCondition

    • Constructor Summary

      Constructors 
      Constructor 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.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String[] getMatchContent()
      Get 匹配Value的值。 注意:此字段可能返回 null,表示取不到有效值。
      String getMatchContentType()
      Get 匹配Content所使用的匹配方式,取值为: equal:精准匹配,等于; wildcard:通配符匹配,支持 * 通配。
      String[] getMatchFrom()
      Get 匹配Key的值。 注意:此字段可能返回 null,表示取不到有效值。
      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的值。 注意:此字段可能返回 null,表示取不到有效值。
      void setMatchContentType​(String MatchContentType)
      Set 匹配Content所使用的匹配方式,取值为: equal:精准匹配,等于; wildcard:通配符匹配,支持 * 通配。
      void setMatchFrom​(String[] MatchFrom)
      Set 匹配Key的值。 注意:此字段可能返回 null,表示取不到有效值。
      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.
    • Constructor Detail

      • SkipCondition

        public SkipCondition()
      • SkipCondition

        public 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.
    • Method Detail

      • getType

        public 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。
Returns:
Type 例外跳过类型,取值为:
  • header_fields:HTTP请求Header;
  • cookie:HTTP请求Cookie;
  • query_string:HTTP请求URL中的Query参数;
  • uri:HTTP请求URI;
  • body_raw:HTTP请求Body;
  • body_json: JSON格式的HTTP Body。
  • Parameters:
    Type - 例外跳过类型,取值为:
  • header_fields:HTTP请求Header;
  • cookie:HTTP请求Cookie;
  • query_string:HTTP请求URL中的Query参数;
  • uri:HTTP请求URI;
  • body_raw:HTTP请求Body;
  • body_json: JSON格式的HTTP Body。