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 最大限制,取值在1MB和500MB之间。单位字节。 | 
| String | getSwitch()Get 是否开启 POST 请求上传文件限制,平台默认为限制为32MB,取值有:
on:开启限制;
off:关闭限制。 | 
| void | setMaxSize(Long MaxSize)Set 最大限制,取值在1MB和500MB之间。单位字节。 | 
| void | setSwitch(String Switch)Set 是否开启 POST 请求上传文件限制,平台默认为限制为32MB,取值有:
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, toJsonStringpublic PostMaxSize()
public PostMaxSize(PostMaxSize source)
public String getSwitch()
public void setSwitch(String Switch)
Switch - 是否开启 POST 请求上传文件限制,平台默认为限制为32MB,取值有:
public Long getMaxSize()
public void setMaxSize(Long MaxSize)
MaxSize - 最大限制,取值在1MB和500MB之间。单位字节。Copyright © 2025. All rights reserved.