Class RestClientAutoConfiguration
java.lang.Object
cn.herodotus.engine.rest.autoconfigure.RestClientAutoConfiguration
@AutoConfiguration(after={org.springframework.boot.autoconfigure.web.client.RestClientAutoConfiguration.class,RestTemplateAutoConfiguration.class})
public class RestClientAutoConfiguration
extends Object
Description: RestClient 配置
- Author:
- : gengwei.zheng
- Date:
- : 2024/12/4 20:16
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidorg.springframework.web.client.RestClientrestClient(org.springframework.web.client.RestClient.Builder restClientBuilder) (package private) org.springframework.web.client.RestClient.BuilderrestClientBuilder(org.springframework.boot.autoconfigure.web.client.RestClientBuilderConfigurer restClientBuilderConfigurer, org.springframework.web.client.RestTemplate restTemplate)
-
Constructor Details
-
RestClientAutoConfiguration
public RestClientAutoConfiguration()
-
-
Method Details
-
postConstruct
@PostConstruct public void postConstruct() -
restClientBuilder
@Bean @ConditionalOnMissingBean org.springframework.web.client.RestClient.Builder restClientBuilder(org.springframework.boot.autoconfigure.web.client.RestClientBuilderConfigurer restClientBuilderConfigurer, org.springframework.web.client.RestTemplate restTemplate) -
restClient
@Bean @ConditionalOnMissingBean public org.springframework.web.client.RestClient restClient(org.springframework.web.client.RestClient.Builder restClientBuilder)
-