public class ResponseHeader extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| ResponseHeader() | 
| ResponseHeader(ResponseHeader 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 | 
|---|---|
| HttpHeaderPathRule[] | getHeaderRules()Get Custom response header rules
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| String | getSwitch()Get Whether to enable custom response headers. | 
| void | setHeaderRules(HttpHeaderPathRule[] HeaderRules)Set Custom response header rules
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| void | setSwitch(String Switch)Set Whether to enable custom response headers. | 
| 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 ResponseHeader()
public ResponseHeader(ResponseHeader source)
public String getSwitch()
public void setSwitch(String Switch)
Switch - Whether to enable custom response headers. Values:
`on`: Enable
`off`: Disablepublic HttpHeaderPathRule[] getHeaderRules()
public void setHeaderRules(HttpHeaderPathRule[] HeaderRules)
HeaderRules - Custom response header rules
Note: This field may return `null`, indicating that no valid value can be obtained.Copyright © 2025. All rights reserved.