public class UpstreamURLRewriteParameters extends AbstractModel
header, skipSign
Constructor and Description |
---|
UpstreamURLRewriteParameters() |
UpstreamURLRewriteParameters(UpstreamURLRewriteParameters 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 |
getAction()
Get Origin-Pull url rewrite action.
|
String |
getType()
Get Origin-Pull url rewriting type, only path is supported.
|
String |
getValue()
Get Origin-Pull url rewrite value, maximum length 1024, must start with /.
note: when action is addprefix, it cannot end with /; when action is rmvprefix, * cannot be present. |
void |
setAction(String Action)
Set Origin-Pull url rewrite action.
|
void |
setType(String Type)
Set Origin-Pull url rewriting type, only path is supported.
|
void |
setValue(String Value)
Set Origin-Pull url rewrite value, maximum length 1024, must start with /.
note: when action is addprefix, it cannot end with /; when action is rmvprefix, * cannot be present. |
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public UpstreamURLRewriteParameters()
public UpstreamURLRewriteParameters(UpstreamURLRewriteParameters source)
public String getType()
public void setType(String Type)
Type
- Origin-Pull url rewriting type, only path is supported.public String getAction()
public void setAction(String Action)
Action
- Origin-Pull url rewrite action. valid values are:.
public String getValue()
public void setValue(String Value)
Value
- Origin-Pull url rewrite value, maximum length 1024, must start with /.Copyright © 2025. All rights reserved.