-
Notifications
You must be signed in to change notification settings - Fork 41.5k
Closed
Labels
status: duplicateA duplicate of another issueA duplicate of another issuetype: documentationA documentation updateA documentation update
Description
On this page:
@Service
public class MyService {
private final WebClient webClient;
public MyService(WebClient.Builder webClientBuilder) {
this.webClient = webClientBuilder.baseUrl("http://example.org").build();
}
public Mono<Details> someRestCall(String name) {
return this.webClient.get().url("/{name}/details", name)
.retrieve().bodyToMono(Details.class);
}
}
this.webClient.get().url("/{name}/details", name)
should be uri
instead?
Metadata
Metadata
Assignees
Labels
status: duplicateA duplicate of another issueA duplicate of another issuetype: documentationA documentation updateA documentation update