类 RestClient
java.lang.Object
com.codingapi.springboot.framework.rest.RestClient
-
构造器概要
构造器构造器说明RestClient(HttpProxyProperties httpProxyProperties, String baseUrl, int retryCount, String emptyResponse, HttpRequest.IHttpRequestHandler requestHandler, HttpRequest.IHttpResponseHandler responseHandler) RestClient(String baseUrl) -
方法概要
修饰符和类型方法说明get(String api, org.springframework.http.HttpHeaders headers, org.springframework.util.MultiValueMap<String, String> requestParams) getGetRequest(String api, org.springframework.http.HttpHeaders headers, org.springframework.util.MultiValueMap<String, String> requestParams) getPostRequest(String api, org.springframework.http.HttpHeaders headers, com.alibaba.fastjson.JSON requestBody) post(String api, org.springframework.http.HttpHeaders headers, com.alibaba.fastjson.JSON requestBody)
-
构造器详细资料
-
RestClient
public RestClient(HttpProxyProperties httpProxyProperties, String baseUrl, int retryCount, String emptyResponse, HttpRequest.IHttpRequestHandler requestHandler, HttpRequest.IHttpResponseHandler responseHandler) -
RestClient
-
-
方法详细资料
-
get
-
get
-
get
-
get
-
get
-
getGetRequest
-
getPostRequest
-
post
-
post
-
post
-
post
-