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 |
---|---|
String |
getApplyType()
Get 申请类型,取值有:
apply:托管EdgeOne;
none:不托管EdgeOne。不填,默认取值为none。
|
ServerCertInfo[] |
getCertInfo()
Get 证书配置。
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getCipherSuite()
Get 密码套件,取值有:
loose-v2023:提供高兼容性,安全性一般,支持 TLS 1.0-1.3 密码套件;
general-v2023:提供较高兼容性,安全性中等,支持 TLS 1.2-1.3 密码套件;
strict-v2023:提供高安全性能,禁用所有含不安全隐患的加密套件,支持 TLS 1.2-1.3 密码套件。
|
Hsts |
getHsts()
Get HSTS 配置。
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getHttp2()
Get http2 配置开关,取值有:
on:开启;
off:关闭。
|
String |
getOcspStapling()
Get OCSP 配置开关,取值有:
on:开启;
off:关闭。
|
String[] |
getTlsVersion()
Get Tls 版本设置,取值有:
TLSv1:TLSv1版本;
TLSV1.1:TLSv1.1版本;
TLSV1.2:TLSv1.2版本;
TLSv1.3:TLSv1.3版本。修改时必须开启连续的版本。
|
void |
setApplyType(String ApplyType)
Set 申请类型,取值有:
apply:托管EdgeOne;
none:不托管EdgeOne。不填,默认取值为none。
|
void |
setCertInfo(ServerCertInfo[] CertInfo)
Set 证书配置。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setCipherSuite(String CipherSuite)
Set 密码套件,取值有:
loose-v2023:提供高兼容性,安全性一般,支持 TLS 1.0-1.3 密码套件;
general-v2023:提供较高兼容性,安全性中等,支持 TLS 1.2-1.3 密码套件;
strict-v2023:提供高安全性能,禁用所有含不安全隐患的加密套件,支持 TLS 1.2-1.3 密码套件。
|
void |
setHsts(Hsts Hsts)
Set HSTS 配置。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setHttp2(String Http2)
Set http2 配置开关,取值有:
on:开启;
off:关闭。
|
void |
setOcspStapling(String OcspStapling)
Set OCSP 配置开关,取值有:
on:开启;
off:关闭。
|
void |
setTlsVersion(String[] TlsVersion)
Set Tls 版本设置,取值有:
TLSv1:TLSv1版本;
TLSV1.1:TLSv1.1版本;
TLSV1.2:TLSv1.2版本;
TLSv1.3:TLSv1.3版本。修改时必须开启连续的版本。
|
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, toJsonString
public Https()
public Https(Https source)
public String getHttp2()
public void setHttp2(String Http2)
Http2
- http2 配置开关,取值有:
public String getOcspStapling()
public void setOcspStapling(String OcspStapling)
OcspStapling
- OCSP 配置开关,取值有:
public String[] getTlsVersion()
public void setTlsVersion(String[] TlsVersion)
TlsVersion
- Tls 版本设置,取值有:
public Hsts getHsts()
public void setHsts(Hsts Hsts)
Hsts
- HSTS 配置。
注意:此字段可能返回 null,表示取不到有效值。public ServerCertInfo[] getCertInfo()
public void setCertInfo(ServerCertInfo[] CertInfo)
CertInfo
- 证书配置。
注意:此字段可能返回 null,表示取不到有效值。public String getApplyType()
public void setApplyType(String ApplyType)
ApplyType
- 申请类型,取值有:
public String getCipherSuite()
public void setCipherSuite(String CipherSuite)
CipherSuite
- 密码套件,取值有:
Copyright © 2025. All rights reserved.