Spring WebFlux WebClient

Reactive, non-blocking HTTP client for consuming REST services and other APIs. Supports builder-based configuration, request/response filters, error handling, streaming, and bridging to blocking operations. Replaces the deprecated RestTemplate.

API entry from apis.yml

apis.yml Raw ↑
name: Spring WebFlux WebClient
description: Reactive, non-blocking HTTP client for consuming REST services and other APIs. Supports builder-based
  configuration, request/response filters, error handling, streaming, and bridging to blocking operations.
  Replaces the deprecated RestTemplate.
image: https://spring.io/img/projects/spring-framework.svg
humanUrl: https://docs.spring.io/spring-framework/reference/web/webflux-webclient.html
tags:
- HTTP Client
- Non-Blocking
- Reactive
- REST
- WebClient
properties:
- type: Documentation
  url: https://docs.spring.io/spring-framework/reference/web/webflux-webclient.html
- type: APIReference
  url: https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/web/reactive/function/client/WebClient.html
- type: Tutorial
  url: https://www.baeldung.com/spring-5-webclient
- type: GitHubRepository
  url: https://github.com/spring-projects/spring-framework/tree/main/spring-webflux
- type: JSONSchema
  url: json-schema/webflux-webclient-request-schema.json
- type: JSONSchema
  url: json-schema/webflux-webclient-response-schema.json
- type: JSONStructure
  url: json-structure/webflux-webclient-request-structure.json