liveBook · Manning

WebClient

WebClient is Spring’s nonblocking, reactive HTTP client API for making requests to external services and processing their responses.

How 2 Manning books explain it

Spring Start Here, Second Edition

WebClient is a non-blocking, reactive HTTP client API in Spring for making web requests and processing responses.

How it is used
Uses WebClient to call REST endpoints in applications designed around a reactive approach.
How deep it goes
Explains reactive task dependencies and a request chain, while deferring a full treatment of reactive applications.
Examples
Uses a banking debt calculation and a payment-service POST proxy to illustrate reactive work and a WebClient request.
What you can do after
Apply it via WebClient to configure a client and construct a reactive payment request and response chain.

Read how Spring Start Here, Second Edition explains WebClient →

Spring in Action, Sixth Edition

WebClient is a Spring reactive HTTP client API for making asynchronous, nonblocking requests.

How it is used
Uses a fluent reactive API to call external REST services without adapting responses into nonreactive types.
How deep it goes
Explains request construction, response extraction, subscription, base URIs, POST bodies, PUT updates, and timeout handling.
Examples
Demonstrates Taco Cloud ingredient retrieval, collection retrieval, POST creation, PUT updates, and timeout handling.
What you can do after
Apply it via WebClient to retrieve, create, and update resources through reactive HTTP requests.

Read how Spring in Action, Sixth Edition explains WebClient →

Related concepts

Questions about WebClient

What is WebClient?

WebClient is Spring’s nonblocking, reactive HTTP client API for making requests to external services and processing their responses.

Which Manning books explain WebClient?

Spring Start Here, Second Edition and Spring in Action, Sixth Edition.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.