| 程序包 | 说明 |
|---|---|
| com.yeepay.yop.sdk.http | |
| com.yeepay.yop.sdk.internal | |
| com.yeepay.yop.sdk.service.common.callback | |
| com.yeepay.yop.sdk.utils |
| 限定符和类型 | 方法和说明 |
|---|---|
static YopContentType |
YopContentType.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static YopContentType[] |
YopContentType.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
YopContentType |
Request.getContentType()
http content-type
|
YopContentType |
DefaultRequest.getContentType() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
Request.setContentType(YopContentType contentType)
set the http content-type
|
void |
DefaultRequest.setContentType(YopContentType contentType) |
| 限定符和类型 | 方法和说明 |
|---|---|
YopContentType |
YopCallbackRequest.getContentType() |
YopContentType |
YopCallbackResponse.getContentType() |
| 限定符和类型 | 方法和说明 |
|---|---|
YopCallbackRequest |
YopCallbackRequest.setContentType(YopContentType contentType) |
void |
YopCallbackResponse.setContentType(YopContentType contentType) |
| 限定符和类型 | 方法和说明 |
|---|---|
static boolean |
HttpUtils.useEmptyAsCanonicalQueryString(String httpMethod,
YopContentType contentType)
计算是否用采用空串("")作为签名时的CanonicalQueryString
|
Copyright © 2024. All rights reserved.