public class Https extends AbstractModel
Constructor and Description |
---|
Https() |
Modifier and Type | Method and Description |
---|---|
ServerCert |
getCertInfo()
Get 服务端证书配置信息
注意:此字段可能返回 null,表示取不到有效值。
|
ClientCert |
getClientCertInfo()
Get 客户端证书配置信息
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getHttp2()
Get http2 配置开关
on:开启
off:关闭
初次启用 https 加速会默认开启 http2 配置
注意:此字段可能返回 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 |
getVerifyClient()
Get 客户端证书校验功能
on:开启
off:关闭
默认为关闭状态,开启时需要上传客户端证书信息,该配置项目前在灰度中,尚未全量
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setCertInfo(ServerCert CertInfo)
Set 服务端证书配置信息
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setClientCertInfo(ClientCert ClientCertInfo)
Set 客户端证书配置信息
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setHttp2(String Http2)
Set http2 配置开关
on:开启
off:关闭
初次启用 https 加速会默认开启 http2 配置
注意:此字段可能返回 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 |
setVerifyClient(String VerifyClient)
Set 客户端证书校验功能
on:开启
off:关闭
默认为关闭状态,开启时需要上传客户端证书信息,该配置项目前在灰度中,尚未全量
注意:此字段可能返回 null,表示取不到有效值。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public String getSwitch()
public void setSwitch(String Switch)
Switch
- https 配置开关
on:开启
off:关闭
注意:此字段可能返回 null,表示取不到有效值。public String getHttp2()
public void setHttp2(String Http2)
Http2
- http2 配置开关
on:开启
off:关闭
初次启用 https 加速会默认开启 http2 配置
注意:此字段可能返回 null,表示取不到有效值。public String getOcspStapling()
public void setOcspStapling(String OcspStapling)
OcspStapling
- OCSP 配置开关
on:开启
off:关闭
默认为关闭状态
注意:此字段可能返回 null,表示取不到有效值。public String getVerifyClient()
public void setVerifyClient(String VerifyClient)
VerifyClient
- 客户端证书校验功能
on:开启
off:关闭
默认为关闭状态,开启时需要上传客户端证书信息,该配置项目前在灰度中,尚未全量
注意:此字段可能返回 null,表示取不到有效值。public ServerCert getCertInfo()
public void setCertInfo(ServerCert CertInfo)
CertInfo
- 服务端证书配置信息
注意:此字段可能返回 null,表示取不到有效值。public ClientCert getClientCertInfo()
public void setClientCertInfo(ClientCert ClientCertInfo)
ClientCertInfo
- 客户端证书配置信息
注意:此字段可能返回 null,表示取不到有效值。public String getSpdy()
public void setSpdy(String Spdy)
Spdy
- Spdy 配置开关
on:开启
off:关闭
默认为关闭状态
注意:此字段可能返回 null,表示取不到有效值。public String getSslStatus()
public void setSslStatus(String SslStatus)
SslStatus
- https 证书部署状态
closed:已关闭
deploying:部署中
deployed:部署成功
failed:部署失败
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2020. All rights reserved.