public class JSInjectionRule extends AbstractModel
header, skipSign
Constructor and Description |
---|
JSInjectionRule() |
JSInjectionRule(JSInjectionRule 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 |
getCondition()
Get Specifies the match condition content, which must comply with the expression grammar.
|
String |
getInjectJS()
Get JavaScript injection option.
|
String |
getName()
Get Rule name
|
Long |
getPriority()
Get Rule priority.
|
String |
getRuleId()
Get Rule ID.
|
void |
setCondition(String Condition)
Set Specifies the match condition content, which must comply with the expression grammar.
|
void |
setInjectJS(String InjectJS)
Set JavaScript injection option.
|
void |
setName(String Name)
Set Rule name
|
void |
setPriority(Long Priority)
Set Rule priority.
|
void |
setRuleId(String RuleId)
Set Rule ID.
|
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 JSInjectionRule()
public JSInjectionRule(JSInjectionRule source)
public String getRuleId()
public void setRuleId(String RuleId)
RuleId
- Rule ID.public String getName()
public void setName(String Name)
Name
- Rule namepublic Long getPriority()
public void setPriority(Long Priority)
Priority
- Rule priority. a smaller value indicates higher priority execution. value range: 0-100. default value is 0.public String getCondition()
public void setCondition(String Condition)
Condition
- Specifies the match condition content, which must comply with the expression grammar. please refer to the product document for detailed requirements.public String getInjectJS()
public void setInjectJS(String InjectJS)
InjectJS
- JavaScript injection option. default value: run-attestations. valid values:.
Copyright © 2025. All rights reserved.