public class PostSize extends AbstractModel
Constructor and Description |
---|
PostSize() |
PostSize(PostSize 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 size.
|
String |
getSwitch()
Get Limit the size of POST requests.
|
void |
setMaxSize(Long MaxSize)
Set Maximum size.
|
void |
setSwitch(String Switch)
Set Limit the size of POST requests.
|
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 PostSize()
public PostSize(PostSize source)
public String getSwitch()
public void setSwitch(String Switch)
Switch
- Limit the size of POST requests. The default value is 32 MB.
off: Disable
on: Enablepublic Long getMaxSize()
public void setMaxSize(Long MaxSize)
MaxSize
- Maximum size. Value range: 1 MB to 200 MB.Copyright © 2023. All rights reserved.