Class WxGatewayCustomConfig
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.tcb.v20180608.models.WxGatewayCustomConfig
-
public class WxGatewayCustomConfig extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description WxGatewayCustomConfig()WxGatewayCustomConfig(WxGatewayCustomConfig 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BanConfiggetBanConfig()Get 封禁配置BooleangetIsAcceptHttpOne()Get 是否开启http1.0BooleangetIsOpenXRealIp()Get 是否开启x-real-ipCustomLogConfiggetLogConfig()Get 日志信息StringgetSourceIpType()Get 获取源ip方式,PPV1(Proxy Protocol V1)、PPV2(Proxy Protocol V2)、TOA(tcp option address)voidsetBanConfig(BanConfig BanConfig)Set 封禁配置voidsetIsAcceptHttpOne(Boolean IsAcceptHttpOne)Set 是否开启http1.0voidsetIsOpenXRealIp(Boolean IsOpenXRealIp)Set 是否开启x-real-ipvoidsetLogConfig(CustomLogConfig LogConfig)Set 日志信息voidsetSourceIpType(String SourceIpType)Set 获取源ip方式,PPV1(Proxy Protocol V1)、PPV2(Proxy Protocol V2)、TOA(tcp option address)voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
WxGatewayCustomConfig
public WxGatewayCustomConfig()
-
WxGatewayCustomConfig
public WxGatewayCustomConfig(WxGatewayCustomConfig 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.
-
-
Method Detail
-
getIsOpenXRealIp
public Boolean getIsOpenXRealIp()
Get 是否开启x-real-ip- Returns:
- IsOpenXRealIp 是否开启x-real-ip
-
setIsOpenXRealIp
public void setIsOpenXRealIp(Boolean IsOpenXRealIp)
Set 是否开启x-real-ip- Parameters:
IsOpenXRealIp- 是否开启x-real-ip
-
getBanConfig
public BanConfig getBanConfig()
Get 封禁配置- Returns:
- BanConfig 封禁配置
-
setBanConfig
public void setBanConfig(BanConfig BanConfig)
Set 封禁配置- Parameters:
BanConfig- 封禁配置
-
getSourceIpType
public String getSourceIpType()
Get 获取源ip方式,PPV1(Proxy Protocol V1)、PPV2(Proxy Protocol V2)、TOA(tcp option address)- Returns:
- SourceIpType 获取源ip方式,PPV1(Proxy Protocol V1)、PPV2(Proxy Protocol V2)、TOA(tcp option address)
-
setSourceIpType
public void setSourceIpType(String SourceIpType)
Set 获取源ip方式,PPV1(Proxy Protocol V1)、PPV2(Proxy Protocol V2)、TOA(tcp option address)- Parameters:
SourceIpType- 获取源ip方式,PPV1(Proxy Protocol V1)、PPV2(Proxy Protocol V2)、TOA(tcp option address)
-
getLogConfig
public CustomLogConfig getLogConfig()
Get 日志信息- Returns:
- LogConfig 日志信息
-
setLogConfig
public void setLogConfig(CustomLogConfig LogConfig)
Set 日志信息- Parameters:
LogConfig- 日志信息
-
getIsAcceptHttpOne
public Boolean getIsAcceptHttpOne()
Get 是否开启http1.0- Returns:
- IsAcceptHttpOne 是否开启http1.0
-
setIsAcceptHttpOne
public void setIsAcceptHttpOne(Boolean IsAcceptHttpOne)
Set 是否开启http1.0- Parameters:
IsAcceptHttpOne- 是否开启http1.0
-
-