public class HttpHeaderPathRule extends AbstractModel
header, skipSign| 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: set: setting.
|
String |
getHeaderName()
Get HTTP header name.
|
String |
getHeaderValue()
Get http header value, up to 1000 characters can be set; optional when Mode is del; required when Mode is add/set.
|
String[] |
getRulePaths()
Get Matching content under the corresponding type of RuleType: Fill in * when all is used; Fill in suffix name when file is used, such as jpg, txt; Fill in path when directory is used, such as /xxx/ test/; Fill in the absolute path when path is specified, such as /xxx/test.html.
|
String |
getRuleType()
Get Rule type: all: valid for all files; file: valid for specified file suffix; directory: valid for specified path; path: specified absolute The path takes effect.
|
void |
setHeaderMode(String HeaderMode)
Set http header setting method: set: setting.
|
void |
setHeaderName(String HeaderName)
Set HTTP header name.
|
void |
setHeaderValue(String HeaderValue)
Set http header value, up to 1000 characters can be set; optional when Mode is del; required when Mode is add/set.
|
void |
setRulePaths(String[] RulePaths)
Set Matching content under the corresponding type of RuleType: Fill in * when all is used; Fill in suffix name when file is used, such as jpg, txt; Fill in path when directory is used, such as /xxx/ test/; Fill in the absolute path when path is specified, such as /xxx/test.html.
|
void |
setRuleType(String RuleType)
Set Rule type: all: valid for all files; file: valid for specified file suffix; directory: valid for specified path; path: specified absolute The path takes effect.
|
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 HttpHeaderPathRule()
public HttpHeaderPathRule(HttpHeaderPathRule source)
public String getHeaderMode()
public void setHeaderMode(String HeaderMode)
HeaderMode - http header setting method: public String getHeaderName()
public void setHeaderName(String HeaderName)
HeaderName - HTTP header name. Up to 100 characters can be set.public String getHeaderValue()
public void setHeaderValue(String HeaderValue)
HeaderValue - http header value, up to 1000 characters can be set; optional when Mode is del; required when Mode is add/set.public String getRuleType()
public void setRuleType(String RuleType)
RuleType - Rule type: public String[] getRulePaths()
public void setRulePaths(String[] RulePaths)
RulePaths - Matching content under the corresponding type of RuleType: Copyright © 2025. All rights reserved.