18 lines
350 B
Java
18 lines
350 B
Java
package com.homme.demo.config;
|
|
|
|
import org.springframework.context.annotation.Bean;
|
|
import org.springframework.context.annotation.Configuration;
|
|
import org.springframework.web.reactive.function.client.WebClient;
|
|
|
|
@Configuration
|
|
public class WebClientConfig {
|
|
|
|
@Bean
|
|
public WebClient webClient() {
|
|
|
|
return WebClient.builder().build();
|
|
|
|
}
|
|
|
|
}
|