类的使用
com.alibaba.nacos.common.http.HttpClientConfig
使用HttpClientConfig的程序包
程序包
说明
-
com.alibaba.nacos.common.http中HttpClientConfig的使用
修饰符和类型方法说明HttpClientConfig.HttpClientConfigBuilder.build()build http client config.protected abstract HttpClientConfigAbstractHttpClientFactory.buildHttpClientConfig()build http client config.protected HttpClientConfigDefaultHttpClientFactory.buildHttpClientConfig() -
com.alibaba.nacos.common.http.client中HttpClientConfig的使用
修饰符和类型方法说明<T> HttpRestResult<T>NacosRestTemplate.delete(String url, HttpClientConfig config, Header header, Query query, Type responseType)http delete URL request params are expanded using the given queryQuery.<T> HttpRestResult<T>NacosRestTemplate.exchange(String url, HttpClientConfig config, Header header, Query query, Object body, String httpMethod, Type responseType)Execute the HTTP method to the given URI template, writing the given request entity to the request, and returns the response asHttpRestResult.<T> HttpRestResult<T>NacosRestTemplate.get(String url, HttpClientConfig config, Header header, Query query, Type responseType)http get URL request params are expanded using the given queryQuery.<T> HttpRestResult<T>NacosRestTemplate.postForm(String url, HttpClientConfig config, Header header, Map<String,String> bodyValues, Type responseType)http post from Create a new resource by PUTting the given mapbodyValuesto http request, http header contentType default 'application/x-www-form-urlencoded;charset=utf-8'.<T> HttpRestResult<T>NacosRestTemplate.putForm(String url, HttpClientConfig config, Header header, Map<String,String> bodyValues, Type responseType)http put from Create a new resource by PUTting the given mapbodyValuesto http request, http header contentType default 'application/x-www-form-urlencoded;charset=utf-8'. -
com.alibaba.nacos.common.http.client.request中HttpClientConfig的使用
-
com.alibaba.nacos.common.model中HttpClientConfig的使用
限定符构造器说明RequestHttpEntity(HttpClientConfig httpClientConfig, Header header, Query query)RequestHttpEntity(HttpClientConfig httpClientConfig, Header header, Query query, Object body)RequestHttpEntity(HttpClientConfig httpClientConfig, Header header, Object body)