public class PostSize extends AbstractModel
header, skipSign
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 最大限制,取值在1MB和200MB之间。
|
String |
getSwitch()
Get POST请求上传文件流式传输最大限制配置开关,取值有:
on:开启,平台默认为32MB
off:关闭
|
void |
setMaxSize(Long MaxSize)
Set 最大限制,取值在1MB和200MB之间。
|
void |
setSwitch(String Switch)
Set POST请求上传文件流式传输最大限制配置开关,取值有:
on:开启,平台默认为32MB
off:关闭
|
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 PostSize()
public PostSize(PostSize source)
public String getSwitch()
public void setSwitch(String Switch)
Switch
- POST请求上传文件流式传输最大限制配置开关,取值有:
on:开启,平台默认为32MB
off:关闭public Long getMaxSize()
public void setMaxSize(Long MaxSize)
MaxSize
- 最大限制,取值在1MB和200MB之间。Copyright © 2024. All rights reserved.