Class RestClientConfig

java.lang.Object
com.plantoml.plantomlserver.config.RestClientConfig

@Configuration public class RestClientConfig extends Object
Configuration class for REST client settings.

This class defines beans and configuration settings used across the application, specifically related to RESTful web services.

  • Constructor Details

    • RestClientConfig

      public RestClientConfig()
  • Method Details

    • restTemplate

      @Bean public org.springframework.web.client.RestTemplate restTemplate()
      Creates and configures a RestTemplate bean.

      The RestTemplate is used for making HTTP requests to external services. This bean can be autowired into other components where RESTful requests are needed.

      Returns:
      A RestTemplate instance.