public class HttpHeaderPathRule extends AbstractModel
Constructor and Description |
---|
HttpHeaderPathRule() |
HttpHeaderPathRule(HttpHeaderPathRule 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 |
getHeaderMode()
Get HTTP header setting method.
|
String |
getHeaderName()
Get HTTP header name.
|
String |
getHeaderValue()
Get HTTP header value, which is optional when it is `del`.
|
String[] |
getRulePaths()
Get URL path or file type list
Note: this field may return null, indicating that no valid values can be obtained.
|
String |
getRuleType()
Get Type of effective URL path rule.
|
void |
setHeaderMode(String HeaderMode)
Set HTTP header setting method.
|
void |
setHeaderName(String HeaderName)
Set HTTP header name.
|
void |
setHeaderValue(String HeaderValue)
Set HTTP header value, which is optional when it is `del`.
|
void |
setRulePaths(String[] RulePaths)
Set URL path or file type list
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setRuleType(String RuleType)
Set Type of effective URL path rule.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public HttpHeaderPathRule()
public HttpHeaderPathRule(HttpHeaderPathRule source)
public String getHeaderMode()
public void setHeaderMode(String HeaderMode)
HeaderMode
- HTTP header setting method. Valid values: add (add header), set (set header), del (delete header).
Request header currently does not support `set`.
Note: this field may return null, indicating that no valid values can be obtained.public String getHeaderName()
public void setHeaderName(String HeaderName)
HeaderName
- HTTP header name.
Note: this field may return null, indicating that no valid values can be obtained.public String getHeaderValue()
public void setHeaderValue(String HeaderValue)
HeaderValue
- HTTP header value, which is optional when it is `del`.
Note: this field may return null, indicating that no valid values can be obtained.public String getRuleType()
public void setRuleType(String RuleType)
RuleType
- Type of effective URL path rule. Valid values: all (all paths), file (file extension), directory (directory), path (absolute path).
Note: this field may return null, indicating that no valid values can be obtained.public String[] getRulePaths()
public void setRulePaths(String[] RulePaths)
RulePaths
- URL path or file type list
Note: this field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.