public static final class EnableHttp2Request.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
EnableHttp2Request.Builder |
acceptLanguage(String acceptLanguage)
The language in which you want to display the results.
|
EnableHttp2Request |
build() |
EnableHttp2Request.Builder |
enableHttp2(Boolean enableHttp2)
Specifies whether to enable HTTP/2 for negotiation between the server and client.
|
EnableHttp2Request.Builder |
gatewayUniqueId(String gatewayUniqueId)
The unique ID of the gateway.
|
public EnableHttp2Request.Builder acceptLanguage(String acceptLanguage)
The language in which you want to display the results. Valid values: zh and en. zh indicates Chinese, which is the default value. en indicates English.
example:zh
public EnableHttp2Request.Builder enableHttp2(Boolean enableHttp2)
Specifies whether to enable HTTP/2 for negotiation between the server and client. This parameter applies to requests. Valid values:
This parameter is required.
example:true
public EnableHttp2Request.Builder gatewayUniqueId(String gatewayUniqueId)
The unique ID of the gateway.
This parameter is required.
example:gw-0adf3ad751284cc69fcf9669fba*****
public EnableHttp2Request build()
Copyright © 2026. All rights reserved.