WebClient
WebClient is Spring’s nonblocking, reactive HTTP client API for making requests to external services and processing their responses.
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
- endpointuses · An endpoint is an addressable interface of a service through which clients access a resource or invoke an operation, typically via a network request.
- non-blocking calluses · A non-blocking call initiates an operation without requiring the calling thread or program to wait synchronously for its completion.
- POSTuses · POST is an HTTP request method that asks the target resource to process the representation enclosed in the request according to its own semantics.
- reactive programminguses · Reactive programming is a paradigm in which computations are expressed through data flows and automatically respond to changing values or events, often arriving asynchronously.
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.

