Class Https

    • Constructor Summary

      Constructors 
      Constructor 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.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String getApplyType()
      Get 申请类型,取值有: apply:托管EdgeOne; none:不托管EdgeOne。不填,默认取值为none。 注意:此字段可能返回 null,表示取不到有效值。
      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 密码套件。 注意:此字段可能返回 null,表示取不到有效值。
      Hsts getHsts()
      Get HSTS 配置。 注意:此字段可能返回 null,表示取不到有效值。
      String getHttp2()
      Get http2 配置开关,取值有: on:开启; off:关闭。 注意:此字段可能返回 null,表示取不到有效值。
      String getOcspStapling()
      Get OCSP 配置开关,取值有: on:开启; off:关闭。 注意:此字段可能返回 null,表示取不到有效值。
      String[] getTlsVersion()
      Get Tls 版本设置,取值有: TLSv1:TLSv1版本; TLSV1.1:TLSv1.1版本; TLSV1.2:TLSv1.2版本; TLSv1.3:TLSv1.3版本。修改时必须开启连续的版本。 注意:此字段可能返回 null,表示取不到有效值。
      void setApplyType​(String ApplyType)
      Set 申请类型,取值有: apply:托管EdgeOne; none:不托管EdgeOne。不填,默认取值为none。 注意:此字段可能返回 null,表示取不到有效值。
      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 密码套件。 注意:此字段可能返回 null,表示取不到有效值。
      void setHsts​(Hsts Hsts)
      Set HSTS 配置。 注意:此字段可能返回 null,表示取不到有效值。
      void setHttp2​(String Http2)
      Set http2 配置开关,取值有: on:开启; off:关闭。 注意:此字段可能返回 null,表示取不到有效值。
      void setOcspStapling​(String OcspStapling)
      Set OCSP 配置开关,取值有: on:开启; off:关闭。 注意:此字段可能返回 null,表示取不到有效值。
      void setTlsVersion​(String[] TlsVersion)
      Set Tls 版本设置,取值有: TLSv1:TLSv1版本; TLSV1.1:TLSv1.1版本; TLSV1.2:TLSv1.2版本; TLSv1.3:TLSv1.3版本。修改时必须开启连续的版本。 注意:此字段可能返回 null,表示取不到有效值。
      void toMap​(HashMap<String,​String> map, String prefix)
      Internal implementation, normal users should not use it.
    • Constructor Detail

      • Https

        public Https()
      • Https

        public 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.
    • Method Detail

      • getHttp2

        public String getHttp2()
        Get http2 配置开关,取值有:
      • on:开启;
      • off:关闭。
      • 注意:此字段可能返回 null,表示取不到有效值。
Returns:
Http2 http2 配置开关,取值有:
  • on:开启;
  • off:关闭。
  • 注意:此字段可能返回 null,表示取不到有效值。
    Parameters:
    Http2 - http2 配置开关,取值有:
  • on:开启;
  • off:关闭。
  • 注意:此字段可能返回 null,表示取不到有效值。