public class CompressionParameters extends AbstractModel
header, skipSign
Constructor and Description |
---|
CompressionParameters() |
CompressionParameters(CompressionParameters 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[] |
getAlgorithms()
Get 支持的压缩算法列表。当 Switch 为 on 时,此字段必填,否则此字段不生效。取值有:
brotli:brotli 算法;
gzip:gzip 算法。
|
String |
getSwitch()
Get 智能压缩配置开关,取值有:
on:开启;
off:关闭。
|
void |
setAlgorithms(String[] Algorithms)
Set 支持的压缩算法列表。当 Switch 为 on 时,此字段必填,否则此字段不生效。取值有:
brotli:brotli 算法;
gzip:gzip 算法。
|
void |
setSwitch(String Switch)
Set 智能压缩配置开关,取值有:
on:开启;
off:关闭。
|
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 CompressionParameters()
public CompressionParameters(CompressionParameters source)
public String getSwitch()
public void setSwitch(String Switch)
Switch
- 智能压缩配置开关,取值有:
public String[] getAlgorithms()
public void setAlgorithms(String[] Algorithms)
Algorithms
- 支持的压缩算法列表。当 Switch 为 on 时,此字段必填,否则此字段不生效。取值有:
Copyright © 2025. All rights reserved.