public class ClientIpHeader extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| ClientIpHeader() | 
| ClientIpHeader(ClientIpHeader 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 | getHeaderName()Get Specifies the request header name containing the client IP For origin-pull. | 
| String | getSwitch()Get Whether to enable the configuration. | 
| void | setHeaderName(String HeaderName)Set Specifies the request header name containing the client IP For origin-pull. | 
| void | setSwitch(String Switch)Set Whether to enable the configuration. | 
| 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, toJsonStringpublic ClientIpHeader()
public ClientIpHeader(ClientIpHeader source)
public String getSwitch()
public void setSwitch(String Switch)
Switch - Whether to enable the configuration. Values:
public String getHeaderName()
public void setHeaderName(String HeaderName)
HeaderName - Specifies the request header name containing the client IP For origin-pull. this parameter is required when Switch is on. X-Forwarded-For is not allowed For this parameter.Copyright © 2025. All rights reserved.