Created
May 4, 2021 11:32
-
-
Save walidum/24cfb10eef225b7baa0c94b2a508c5bc to your computer and use it in GitHub Desktop.
all
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
List<Mono<Province>> list = Stream.of(9, 16, 19, 23, 31, 39) | |
.map(i -> client.get().uri("/province/{id}", i) | |
.retrieve().bodyToMono(Province.class)) | |
.collect(Collectors.toList()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment