| 程序包 | 说明 |
|---|---|
| com.yeepay.yop.sdk.client | |
| com.yeepay.yop.sdk.http |
| 限定符和类型 | 字段和说明 |
|---|---|
static Protocol |
ClientConfiguration.DEFAULT_PROTOCOL
The default protocol.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Protocol |
ClientConfiguration.getProtocol()
Returns the protocol (HTTP/HTTPS) to use when connecting to YOP services.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
ClientConfiguration.setProtocol(Protocol protocol)
Sets the protocol (HTTP/HTTPS) to use when connecting to YOP services.
|
ClientConfiguration |
ClientConfiguration.withProtocol(Protocol protocol)
Sets the protocol (HTTP/HTTPS) to use when connecting to YOP services, and returns the updated configuration
instance.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static Protocol |
Protocol.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static Protocol[] |
Protocol.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
Copyright © 2024. All rights reserved.