public class Https extends AbstractModel
header, skipSign
Constructor and Description |
---|
Https() |
Https(Https 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 |
---|---|
Hsts |
getHsts()
Get HSTS Configuration
Note: This field may return `null`, indicating that no valid value can be obtained.
|
String |
getHttp2()
Get HTTP2 configuration switch
`on`: Enable
`off`: Disable
Note: This field may return `null`, indicating that no valid value can be obtained.
|
String |
getOcspStapling()
Get OCSP configuration switch
`on`: Enable
`off`: Disable
It is disabled by default.
|
String[] |
getTlsVersion()
Get TLS version settings.
|
void |
setHsts(Hsts Hsts)
Set HSTS Configuration
Note: This field may return `null`, indicating that no valid value can be obtained.
|
void |
setHttp2(String Http2)
Set HTTP2 configuration switch
`on`: Enable
`off`: Disable
Note: This field may return `null`, indicating that no valid value can be obtained.
|
void |
setOcspStapling(String OcspStapling)
Set OCSP configuration switch
`on`: Enable
`off`: Disable
It is disabled by default.
|
void |
setTlsVersion(String[] TlsVersion)
Set TLS version settings.
|
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 Https()
public Https(Https source)
public String getHttp2()
public void setHttp2(String Http2)
Http2
- HTTP2 configuration switch
`on`: Enable
`off`: Disable
Note: This field may return `null`, indicating that no valid value can be obtained.public String getOcspStapling()
public void setOcspStapling(String OcspStapling)
OcspStapling
- OCSP configuration switch
`on`: Enable
`off`: Disable
It is disabled by default.
Note: This field may return `null`, indicating that no valid value can be obtained.public String[] getTlsVersion()
public void setTlsVersion(String[] TlsVersion)
TlsVersion
- TLS version settings. Valid values: `TLSv1`, `TLSV1.1`, `TLSV1.2`, and `TLSv1.3`. Only consecutive versions can be enabled at the same time.
Note: This field may return `null`, indicating that no valid value can be obtained.public Hsts getHsts()
public void setHsts(Hsts Hsts)
Hsts
- HSTS Configuration
Note: This field may return `null`, indicating that no valid value can be obtained.Copyright © 2024. All rights reserved.