Class StrategyForAntiInfoLeak

    • Constructor Detail

      • StrategyForAntiInfoLeak

        public StrategyForAntiInfoLeak()
      • StrategyForAntiInfoLeak

        public StrategyForAntiInfoLeak​(StrategyForAntiInfoLeak 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

      • getField

        public String getField()
        Get 匹配条件,returncode(响应码)、keywords(关键字)、information(敏感信息)
        Returns:
        Field 匹配条件,returncode(响应码)、keywords(关键字)、information(敏感信息)
      • setField

        public void setField​(String Field)
        Set 匹配条件,returncode(响应码)、keywords(关键字)、information(敏感信息)
        Parameters:
        Field - 匹配条件,returncode(响应码)、keywords(关键字)、information(敏感信息)
      • getCompareFunc

        public String getCompareFunc()
        Get 逻辑符号,固定取值为contains
        Returns:
        CompareFunc 逻辑符号,固定取值为contains
      • setCompareFunc

        public void setCompareFunc​(String CompareFunc)
        Set 逻辑符号,固定取值为contains
        Parameters:
        CompareFunc - 逻辑符号,固定取值为contains
      • getContent

        public String getContent()
        Get 匹配内容。 以下三个对应Field为information时可取的匹配内容: idcard(身份证)、phone(手机号)、bankcard(银行卡)。 以下为对应Field为returncode时可取的匹配内容: 400(状态码400)、403(状态码403)、404(状态码404)、4xx(其它4xx状态码)、500(状态码500)、501(状态码501)、502(状态码502)、504(状态码504)、5xx(其它5xx状态码)。 当对应Field为keywords时由用户自己输入匹配内容。
        Returns:
        Content 匹配内容。 以下三个对应Field为information时可取的匹配内容: idcard(身份证)、phone(手机号)、bankcard(银行卡)。 以下为对应Field为returncode时可取的匹配内容: 400(状态码400)、403(状态码403)、404(状态码404)、4xx(其它4xx状态码)、500(状态码500)、501(状态码501)、502(状态码502)、504(状态码504)、5xx(其它5xx状态码)。 当对应Field为keywords时由用户自己输入匹配内容。
      • setContent

        public void setContent​(String Content)
        Set 匹配内容。 以下三个对应Field为information时可取的匹配内容: idcard(身份证)、phone(手机号)、bankcard(银行卡)。 以下为对应Field为returncode时可取的匹配内容: 400(状态码400)、403(状态码403)、404(状态码404)、4xx(其它4xx状态码)、500(状态码500)、501(状态码501)、502(状态码502)、504(状态码504)、5xx(其它5xx状态码)。 当对应Field为keywords时由用户自己输入匹配内容。
        Parameters:
        Content - 匹配内容。 以下三个对应Field为information时可取的匹配内容: idcard(身份证)、phone(手机号)、bankcard(银行卡)。 以下为对应Field为returncode时可取的匹配内容: 400(状态码400)、403(状态码403)、404(状态码404)、4xx(其它4xx状态码)、500(状态码500)、501(状态码501)、502(状态码502)、504(状态码504)、5xx(其它5xx状态码)。 当对应Field为keywords时由用户自己输入匹配内容。