public class PostMaxSize extends AbstractModel
header, skipSign
Constructor and Description |
---|
PostMaxSize() |
PostMaxSize(PostMaxSize 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 |
---|---|
Long |
getMaxSize()
Get Maximum limit.
|
String |
getSwitch()
Get Whether to enable POST upload limit (default limit: 32 MB).
|
void |
setMaxSize(Long MaxSize)
Set Maximum limit.
|
void |
setSwitch(String Switch)
Set Whether to enable POST upload limit (default limit: 32 MB).
|
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 PostMaxSize()
public PostMaxSize(PostMaxSize source)
public String getSwitch()
public void setSwitch(String Switch)
Switch
- Whether to enable POST upload limit (default limit: 32 MB). Valid values:
public Long getMaxSize()
public void setMaxSize(Long MaxSize)
MaxSize
- Maximum limit. value range between 1MB and 500MB. byte.Copyright © 2025. All rights reserved.