NIMSDK-AOS
10.9.50
首页
相关页面
包
类
文件
文件列表
basesdk
src
com
netease
nimlib
sdk
v2
passthrough
enums
V2NIMProxyRequestMethod.java
浏览该文件的文档.
1
package
com.netease.nimlib.sdk.v2.passthrough.enums;
2
3
/**
4
* 请求方式
5
*/
6
public
enum
V2NIMProxyRequestMethod
{
7
8
/**
9
* GET请求
10
*/
11
V2NIM_PROXY_REQUEST_METHOD_GET
(1),
12
/**
13
* POST请求
14
*/
15
V2NIM_PROXY_REQUEST_METHOD_POST
(2),
16
/**
17
* PUT请求
18
*/
19
V2NIM_PROXY_REQUEST_METHOD_PUT
(3),
20
/**
21
* DELETE请求
22
*/
23
V2NIM_PROXY_REQUEST_METHOD_DELETE(4)
24
25
;
26
27
private
int
value;
28
29
V2NIMProxyRequestMethod
(
int
value) {
30
this.value = value;
31
}
32
33
public
int
getValue
() {
34
return
value;
35
}
36
37
public
static
V2NIMProxyRequestMethod
typeOfValue
(
int
value) {
38
for
(
V2NIMProxyRequestMethod
type : values()) {
39
if
(type.value == value) {
40
return
type;
41
}
42
}
43
return
null;
44
}
45
}
com.netease.nimlib.sdk.v2.passthrough.enums.V2NIMProxyRequestMethod
请求方式
Definition:
V2NIMProxyRequestMethod.java:6
com.netease.nimlib.sdk.v2.passthrough.enums.V2NIMProxyRequestMethod.V2NIM_PROXY_REQUEST_METHOD_GET
V2NIM_PROXY_REQUEST_METHOD_GET
GET请求
Definition:
V2NIMProxyRequestMethod.java:11
com.netease.nimlib.sdk.v2.passthrough.enums.V2NIMProxyRequestMethod.V2NIM_PROXY_REQUEST_METHOD_POST
V2NIM_PROXY_REQUEST_METHOD_POST
POST请求
Definition:
V2NIMProxyRequestMethod.java:15
com.netease.nimlib.sdk.v2.passthrough.enums.V2NIMProxyRequestMethod.V2NIM_PROXY_REQUEST_METHOD_PUT
V2NIM_PROXY_REQUEST_METHOD_PUT
PUT请求
Definition:
V2NIMProxyRequestMethod.java:19
com.netease.nimlib.sdk.v2.passthrough.enums.V2NIMProxyRequestMethod.typeOfValue
static V2NIMProxyRequestMethod typeOfValue(int value)
Definition:
V2NIMProxyRequestMethod.java:37
com.netease.nimlib.sdk.v2.passthrough.enums.V2NIMProxyRequestMethod.getValue
int getValue()
Definition:
V2NIMProxyRequestMethod.java:33
com.netease.nimlib.sdk.v2.passthrough.enums.V2NIMProxyRequestMethod.V2NIMProxyRequestMethod
V2NIMProxyRequestMethod(int value)
Definition:
V2NIMProxyRequestMethod.java:29
生成于 2025年 九月 12日 星期五 10:22:50 , 为 NIMSDK-AOS使用
1.8.11