| 程序包 | 说明 |
|---|---|
| com.ifengxue.http.annotation | |
| com.ifengxue.http.contract | |
| com.ifengxue.http.proxy |
| 限定符和类型 | 方法和说明 |
|---|---|
static HttpMethod |
HttpMethod.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static HttpMethod[] |
HttpMethod.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
default <T> T |
HttpOperations.exchange(String url,
HttpMethod method,
BodyType bodyType,
ResponseType responseType,
Class<T> responseEntityClass,
Map<String,String> httpHeaders,
Map<String,Object> uriVariables,
Object requestBody)
自定义执行http请求
|
<T> T |
HttpOperations.exchange(String url,
HttpMethod method,
BodyType bodyType,
ResponseType responseType,
Type responseEntityType,
Map<String,String> httpHeaders,
Map<String,Object> uriVariables,
Object requestBody)
自定义执行http请求
|
default <T> T |
HttpOperations.exchange(String url,
HttpMethod method,
BodyType bodyType,
ResponseType responseType,
TypeReference<T> typeReference,
Map<String,String> httpHeaders,
Map<String,Object> uriVariables,
Object requestBody)
自定义执行http请求
|
| 限定符和类型 | 方法和说明 |
|---|---|
<T> T |
GenericHttpInvoker.exchange(String url,
HttpMethod method,
BodyType bodyType,
ResponseType responseType,
Type responseEntityType,
Map<String,String> httpHeaders,
Map<String,Object> uriVariables,
Object requestBody) |
<T> T |
RequestInvoker.exchange(String url,
HttpMethod method,
BodyType bodyType,
ResponseType responseType,
Type responseEntityType,
Map<String,String> httpHeaders,
Map<String,Object> uriVariables,
Object requestBody) |
Copyright © 2019. All rights reserved.