public class WxGatewayCustomConfig extends AbstractModel
header, skipSign
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
BanConfig |
getBanConfig()
Get 封禁配置
|
Boolean |
getIsAcceptHttpOne()
Get 是否开启http1.0
|
Boolean |
getIsOpenXRealIp()
Get 是否开启x-real-ip
|
CustomLogConfig |
getLogConfig()
Get 日志信息
|
String |
getSourceIpType()
Get 获取源ip方式,PPV1(Proxy Protocol V1)、PPV2(Proxy Protocol V2)、TOA(tcp option address)
|
void |
setBanConfig(BanConfig BanConfig)
Set 封禁配置
|
void |
setIsAcceptHttpOne(Boolean IsAcceptHttpOne)
Set 是否开启http1.0
|
void |
setIsOpenXRealIp(Boolean IsOpenXRealIp)
Set 是否开启x-real-ip
|
void |
setLogConfig(CustomLogConfig LogConfig)
Set 日志信息
|
void |
setSourceIpType(String SourceIpType)
Set 获取源ip方式,PPV1(Proxy Protocol V1)、PPV2(Proxy Protocol V2)、TOA(tcp option address)
|
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 WxGatewayCustomConfig()
public WxGatewayCustomConfig(WxGatewayCustomConfig source)
public Boolean getIsOpenXRealIp()
public void setIsOpenXRealIp(Boolean IsOpenXRealIp)
IsOpenXRealIp
- 是否开启x-real-ippublic BanConfig getBanConfig()
public void setBanConfig(BanConfig BanConfig)
BanConfig
- 封禁配置public String getSourceIpType()
public void setSourceIpType(String SourceIpType)
SourceIpType
- 获取源ip方式,PPV1(Proxy Protocol V1)、PPV2(Proxy Protocol V2)、TOA(tcp option address)public CustomLogConfig getLogConfig()
public void setLogConfig(CustomLogConfig LogConfig)
LogConfig
- 日志信息public Boolean getIsAcceptHttpOne()
public void setIsAcceptHttpOne(Boolean IsAcceptHttpOne)
IsAcceptHttpOne
- 是否开启http1.0Copyright © 2024. All rights reserved.