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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    org.springframework.web.client.RestClient
    restClient(org.springframework.web.client.RestClient.Builder restClientBuilder)
     
    (package private) org.springframework.web.client.RestClient.Builder
    restClientBuilder(org.springframework.boot.autoconfigure.web.client.RestClientBuilderConfigurer restClientBuilderConfigurer, org.springframework.web.client.RestTemplate restTemplate)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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)