public class HSTSParameters extends AbstractModel
header, skipSign| Constructor and Description |
|---|
HSTSParameters() |
HSTSParameters(HSTSParameters 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 |
getIncludeSubDomains()
Get Whether to allow other subdomains to inherit the same hsts header.
|
String |
getPreload()
Get Whether to allow the browser to preload the hsts header.
|
String |
getSwitch()
Get Whether to enable hsts.
|
Long |
getTimeout()
Get Cache hsts header time, unit: seconds.
|
void |
setIncludeSubDomains(String IncludeSubDomains)
Set Whether to allow other subdomains to inherit the same hsts header.
|
void |
setPreload(String Preload)
Set Whether to allow the browser to preload the hsts header.
|
void |
setSwitch(String Switch)
Set Whether to enable hsts.
|
void |
setTimeout(Long Timeout)
Set Cache hsts header time, unit: seconds.
|
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 HSTSParameters()
public HSTSParameters(HSTSParameters source)
public String getSwitch()
public void setSwitch(String Switch)
Switch - Whether to enable hsts. values:.
public Long getTimeout()
public void setTimeout(Long Timeout)
Timeout - Cache hsts header time, unit: seconds. value range: 1-31536000.public String getIncludeSubDomains()
public void setIncludeSubDomains(String IncludeSubDomains)
IncludeSubDomains - Whether to allow other subdomains to inherit the same hsts header. values:.
public String getPreload()
public void setPreload(String Preload)
Preload - Whether to allow the browser to preload the hsts header. valid values:.
Copyright © 2025. All rights reserved.