注入连接池,用于获取httpClient @param httpClientBuilder @return
(@Qualifier("httpClientBuilder") HttpClientBuilder httpClientBuilder)
| 80 | * @return |
| 81 | */ |
| 82 | @Bean |
| 83 | public CloseableHttpClient httpClient(@Qualifier("httpClientBuilder") HttpClientBuilder httpClientBuilder){ |
| 84 | return httpClientBuilder.build(); |
| 85 | } |
| 86 | /** |
| 87 | * 注册RequestConfig |
| 88 | * @return |
nothing calls this directly
no outgoing calls
no test coverage detected