We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d98ad0b commit 091eca9Copy full SHA for 091eca9
app/src/main/java/com/example/demo/DemoApplication.java
@@ -12,7 +12,7 @@
12
@RestController
13
public class DemoApplication {
14
15
- private WebClient webClient = WebClient.builder().build();
+ private WebClient webClient = WebClient.create();
16
17
public static void main(String[] args) {
18
SpringApplication.run(DemoApplication.class, args);
@@ -25,4 +25,4 @@ public Mono<String> index() {
25
return clientResponse.bodyToMono(String.class).flatMap(name -> Mono.just("Hello " + name + " from " + host));
26
});
27
}
28
-}
+}
0 commit comments