Skip to content

Support @HttpExchange for server-side handling #30913

Closed
@rstoyanchev

Description

@rstoyanchev

While @HttpExchange was initially created for client use, the idea was always that an @HttpExchange interface is an HTTP service contract, neutral to client or server.

In addition to simplifying client code, there are also cases where a shared interface between client and server provides an easy way for clients to access server APIs and keep up with changes. This leads to increased coupling that won't be a good fit for a public API but may be exactly the goal for internal APIs. This is commonly used with Spring Cloud and OpenFeign as described in #30733 (comment).

Similar support is also planned for the RSocket interface client in #29240.

Metadata

Metadata

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)status: supersededAn issue that has been superseded by anothertype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions