接口的使用
cn.taketoday.web.client.RestClient
使用RestClient的程序包
程序包
说明
Core package of the client-side web support.
Classes supporting the
cn.taketoday.web.client package.-
cn.taketoday.web.client中RestClient的使用
修饰符和类型方法说明DefaultRestClientBuilder.build()RestClient.Builder.build()Build theRestClientinstance.static RestClientRestClient.create()Create a newRestClient.static RestClientRestClient.create(RestTemplate restTemplate) Create a newRestClientbased on the configuration of the givenRestTemplate.static RestClientVariant ofcreate()that accepts a default base URL. -
cn.taketoday.web.client.support中RestClient的使用
修饰符和类型方法说明static RestClientAdapterRestClientAdapter.create(RestClient restClient) Create aRestClientAdapterfor the givenRestClient.参数类型为RestClient的cn.taketoday.web.client.support中的构造器