Package | Description |
---|---|
com.auxiliary.http |
Modifier and Type | Field and Description |
---|---|
static RequestType |
InterfaceInfo.DEFAULT_REQUESTTYPE
定义接口默认请求方式
|
protected RequestType |
InterfaceInfo.requestType
请求类型
|
Modifier and Type | Method and Description |
---|---|
RequestType |
InterfaceInfo.getRequestType()
该方法用于返回接口的请求方式枚举
|
static RequestType |
RequestType.typeText2Type(String type)
该方法用于将枚举文本转换为消息枚举
|
static RequestType |
RequestType.typeText2Type(String type,
Function<String,String> mapper)
该方法用于将枚举文本转换为消息枚举
|
static RequestType |
RequestType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RequestType[] |
RequestType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static EasyResponse |
EasyHttp.requst(RequestType requestType,
String url)
该方法用于对接口进行快速请求
|
static EasyResponse |
EasyHttp.requst(RequestType requestType,
String url,
Map<String,String> requestHead,
MessageType messageType,
Object body)
该方法用于对接口进行快速请求
|
static EasyResponse |
EasyHttp.requst(RequestType requestType,
String url,
MessageType messageType,
Object body)
该方法用于对接口进行快速请求
|
void |
InterfaceInfo.setRequestType(RequestType requestType)
该方法用于设置接口的请求方式枚举
|
Copyright © 2024. All rights reserved.