advanced~2h
WebClient: The Reactive HTTP Client
OpenFeign is declarative and simple; WebClient is lower-level and non-blocking. This module is when the second one is actually the right tool.
Learning objectives
- Beginner: Make a simple GET request with WebClient and extract the response body.
- Intermediate: Explain the difference between a blocking call and a non-blocking, reactive one.
- Advanced: Choose between OpenFeign and WebClient for a given service-to-service integration, based on concurrency requirements.
This is a Pro chapter
Sign in, then upgrade to Pro or Power to unlock this and the full Spring Ecosystem Mastery library.
WebClient: The Reactive HTTP Client