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 最大限制,取值在1MB和200MB之间。
|
String |
getSwitch()
Get 是调整POST请求限制,平台默认为32MB。
关闭:off,
开启:on。
|
void |
setMaxSize(Long MaxSize)
Set 最大限制,取值在1MB和200MB之间。
|
void |
setSwitch(String Switch)
Set 是调整POST请求限制,平台默认为32MB。
关闭:off,
开启:on。
|
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
- 是调整POST请求限制,平台默认为32MB。
关闭:off,
开启:on。public Long getMaxSize()
public void setMaxSize(Long MaxSize)
MaxSize
- 最大限制,取值在1MB和200MB之间。Copyright © 2022. All rights reserved.