Skip to content

Introduce RestClient #29552

Closed
Closed
@poutsma

Description

@poutsma

In Spring Framework 5.0, we introduced the WebClient: a new, reactive HTTP client. Compared to RestTemplate, the previous generation, WebClient improved HTTP access on two fronts:

  • asynchrony, offered through reactive streams, and
  • improved APIs, making it much easier to customize request and response.

With the advent of Project Loom, asynchrony can be obtained through standard, synchronous APIs. We should therefore introduce a version of WebClient that offers the same improved APIs as the current reactive version, but exposes them in a synchronous manner.

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions