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
      ServerCert getCertInfo()
      Get 服务端证书配置信息 注意:此字段可能返回 null,表示取不到有效值。
      ClientCert getClientCertInfo()
      Get 客户端证书配置信息 注意:此字段可能返回 null,表示取不到有效值。
      Hsts getHsts()
      Get Hsts配置 注意:此字段可能返回 null,表示取不到有效值。
      String getHttp2()
      Get http2 配置开关 on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。
      String getOcspStapling()
      Get OCSP 配置开关 on:开启 off:关闭 默认为关闭状态 注意:此字段可能返回 null,表示取不到有效值。
      String getSpdy()
      Get Spdy 配置开关 on:开启 off:关闭 默认为关闭状态 注意:此字段可能返回 null,表示取不到有效值。
      String getSslStatus()
      Get https 证书部署状态 closed:已关闭 deploying:部署中 deployed:部署成功 failed:部署失败 注意:此字段可能返回 null,表示取不到有效值。
      String getSwitch()
      Get https 配置开关,取值有: on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。
      String[] getTlsVersion()
      Get Tls版本设置,仅支持部分Advance域名,支持设置 TLSv1, TLSV1.1, TLSV1.2, TLSv1.3,修改时必须开启连续的版本 注意:此字段可能返回 null,表示取不到有效值。
      String getVerifyClient()
      Get 客户端证书校验功能 on:开启 off:关闭 默认为关闭状态,开启时需要上传客户端证书信息,该配置项目前在灰度中,尚未全量 注意:此字段可能返回 null,表示取不到有效值。
      void setCertInfo​(ServerCert CertInfo)
      Set 服务端证书配置信息 注意:此字段可能返回 null,表示取不到有效值。
      void setClientCertInfo​(ClientCert ClientCertInfo)
      Set 客户端证书配置信息 注意:此字段可能返回 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 setSpdy​(String Spdy)
      Set Spdy 配置开关 on:开启 off:关闭 默认为关闭状态 注意:此字段可能返回 null,表示取不到有效值。
      void setSslStatus​(String SslStatus)
      Set https 证书部署状态 closed:已关闭 deploying:部署中 deployed:部署成功 failed:部署失败 注意:此字段可能返回 null,表示取不到有效值。
      void setSwitch​(String Switch)
      Set https 配置开关,取值有: on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。
      void setTlsVersion​(String[] TlsVersion)
      Set Tls版本设置,仅支持部分Advance域名,支持设置 TLSv1, TLSV1.1, TLSV1.2, TLSv1.3,修改时必须开启连续的版本 注意:此字段可能返回 null,表示取不到有效值。
      void setVerifyClient​(String VerifyClient)
      Set 客户端证书校验功能 on:开启 off:关闭 默认为关闭状态,开启时需要上传客户端证书信息,该配置项目前在灰度中,尚未全量 注意:此字段可能返回 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

      • getSwitch

        public String getSwitch()
        Get https 配置开关,取值有: on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        Switch https 配置开关,取值有: on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。
      • setSwitch

        public void setSwitch​(String Switch)
        Set https 配置开关,取值有: on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        Switch - https 配置开关,取值有: on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。
      • getHttp2

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

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

        public String getOcspStapling()
        Get OCSP 配置开关 on:开启 off:关闭 默认为关闭状态 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        OcspStapling OCSP 配置开关 on:开启 off:关闭 默认为关闭状态 注意:此字段可能返回 null,表示取不到有效值。
      • setOcspStapling

        public void setOcspStapling​(String OcspStapling)
        Set OCSP 配置开关 on:开启 off:关闭 默认为关闭状态 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        OcspStapling - OCSP 配置开关 on:开启 off:关闭 默认为关闭状态 注意:此字段可能返回 null,表示取不到有效值。
      • getVerifyClient

        public String getVerifyClient()
        Get 客户端证书校验功能 on:开启 off:关闭 默认为关闭状态,开启时需要上传客户端证书信息,该配置项目前在灰度中,尚未全量 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        VerifyClient 客户端证书校验功能 on:开启 off:关闭 默认为关闭状态,开启时需要上传客户端证书信息,该配置项目前在灰度中,尚未全量 注意:此字段可能返回 null,表示取不到有效值。
      • setVerifyClient

        public void setVerifyClient​(String VerifyClient)
        Set 客户端证书校验功能 on:开启 off:关闭 默认为关闭状态,开启时需要上传客户端证书信息,该配置项目前在灰度中,尚未全量 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        VerifyClient - 客户端证书校验功能 on:开启 off:关闭 默认为关闭状态,开启时需要上传客户端证书信息,该配置项目前在灰度中,尚未全量 注意:此字段可能返回 null,表示取不到有效值。
      • getCertInfo

        public ServerCert getCertInfo()
        Get 服务端证书配置信息 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        CertInfo 服务端证书配置信息 注意:此字段可能返回 null,表示取不到有效值。
      • setCertInfo

        public void setCertInfo​(ServerCert CertInfo)
        Set 服务端证书配置信息 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        CertInfo - 服务端证书配置信息 注意:此字段可能返回 null,表示取不到有效值。
      • getClientCertInfo

        public ClientCert getClientCertInfo()
        Get 客户端证书配置信息 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        ClientCertInfo 客户端证书配置信息 注意:此字段可能返回 null,表示取不到有效值。
      • setClientCertInfo

        public void setClientCertInfo​(ClientCert ClientCertInfo)
        Set 客户端证书配置信息 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        ClientCertInfo - 客户端证书配置信息 注意:此字段可能返回 null,表示取不到有效值。
      • getSpdy

        public String getSpdy()
        Get Spdy 配置开关 on:开启 off:关闭 默认为关闭状态 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        Spdy Spdy 配置开关 on:开启 off:关闭 默认为关闭状态 注意:此字段可能返回 null,表示取不到有效值。
      • setSpdy

        public void setSpdy​(String Spdy)
        Set Spdy 配置开关 on:开启 off:关闭 默认为关闭状态 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        Spdy - Spdy 配置开关 on:开启 off:关闭 默认为关闭状态 注意:此字段可能返回 null,表示取不到有效值。
      • getSslStatus

        public String getSslStatus()
        Get https 证书部署状态 closed:已关闭 deploying:部署中 deployed:部署成功 failed:部署失败 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        SslStatus https 证书部署状态 closed:已关闭 deploying:部署中 deployed:部署成功 failed:部署失败 注意:此字段可能返回 null,表示取不到有效值。
      • setSslStatus

        public void setSslStatus​(String SslStatus)
        Set https 证书部署状态 closed:已关闭 deploying:部署中 deployed:部署成功 failed:部署失败 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        SslStatus - https 证书部署状态 closed:已关闭 deploying:部署中 deployed:部署成功 failed:部署失败 注意:此字段可能返回 null,表示取不到有效值。
      • getHsts

        public Hsts getHsts()
        Get Hsts配置 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        Hsts Hsts配置 注意:此字段可能返回 null,表示取不到有效值。
      • setHsts

        public void setHsts​(Hsts Hsts)
        Set Hsts配置 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        Hsts - Hsts配置 注意:此字段可能返回 null,表示取不到有效值。
      • getTlsVersion

        public String[] getTlsVersion()
        Get Tls版本设置,仅支持部分Advance域名,支持设置 TLSv1, TLSV1.1, TLSV1.2, TLSv1.3,修改时必须开启连续的版本 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        TlsVersion Tls版本设置,仅支持部分Advance域名,支持设置 TLSv1, TLSV1.1, TLSV1.2, TLSv1.3,修改时必须开启连续的版本 注意:此字段可能返回 null,表示取不到有效值。
      • setTlsVersion

        public void setTlsVersion​(String[] TlsVersion)
        Set Tls版本设置,仅支持部分Advance域名,支持设置 TLSv1, TLSV1.1, TLSV1.2, TLSv1.3,修改时必须开启连续的版本 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        TlsVersion - Tls版本设置,仅支持部分Advance域名,支持设置 TLSv1, TLSV1.1, TLSV1.2, TLSv1.3,修改时必须开启连续的版本 注意:此字段可能返回 null,表示取不到有效值。