public class StandardDebugParameters extends AbstractModel
header, skipSign
Constructor and Description |
---|
StandardDebugParameters() |
StandardDebugParameters(StandardDebugParameters 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 |
---|---|
String[] |
getAllowClientIPList()
Get 允许的客户端来源。支持填写 IPv4 以及 IPv6 的 IP 网段。0.0.0.0/0 表示允许所有 IPv4 客户端进行调试;::/0 表示允许所有 IPv6 客户端进行调试;不能填写 127.0.0.1。
注意:当 Switch 字段为 on 时,此字段必填,且填写个数为 1~100;当 Switch 为 off 时,无需填写此字段,若填写则不生效。 |
String |
getExpires()
Get Debug 功能到期时间。超出设置的时间,则功能失效。
注意:当 Switch 为 on 时,此字段必填;当 Switch 为 off 时,无需填写此字段,若填写则不生效。 |
String |
getSwitch()
Get Debug 功能开关,取值有:
on:开启;
off:关闭。
|
void |
setAllowClientIPList(String[] AllowClientIPList)
Set 允许的客户端来源。支持填写 IPv4 以及 IPv6 的 IP 网段。0.0.0.0/0 表示允许所有 IPv4 客户端进行调试;::/0 表示允许所有 IPv6 客户端进行调试;不能填写 127.0.0.1。
注意:当 Switch 字段为 on 时,此字段必填,且填写个数为 1~100;当 Switch 为 off 时,无需填写此字段,若填写则不生效。 |
void |
setExpires(String Expires)
Set Debug 功能到期时间。超出设置的时间,则功能失效。
注意:当 Switch 为 on 时,此字段必填;当 Switch 为 off 时,无需填写此字段,若填写则不生效。 |
void |
setSwitch(String Switch)
Set Debug 功能开关,取值有:
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, toJsonString
public StandardDebugParameters()
public StandardDebugParameters(StandardDebugParameters source)
public String getSwitch()
public void setSwitch(String Switch)
Switch
- Debug 功能开关,取值有:
public String[] getAllowClientIPList()
public void setAllowClientIPList(String[] AllowClientIPList)
AllowClientIPList
- 允许的客户端来源。支持填写 IPv4 以及 IPv6 的 IP 网段。0.0.0.0/0 表示允许所有 IPv4 客户端进行调试;::/0 表示允许所有 IPv6 客户端进行调试;不能填写 127.0.0.1。public String getExpires()
public void setExpires(String Expires)
Expires
- Debug 功能到期时间。超出设置的时间,则功能失效。Copyright © 2025. All rights reserved.