HTTP Interface Client

Spring Frameworks 允许您使用带有 HTTP 交换方法的 Java 接口定义 HTTP 服务。然后,您可以生成一个实现此接口并执行交换的代理。这有助于简化 HTTP 远程访问,并为选择同步或响应式等 API 样式提供额外的灵活性。

The Spring Frameworks lets you define an HTTP service as a Java interface with HTTP exchange methods. You can then generate a proxy that implements this interface and performs the exchanges. This helps to simplify HTTP remote access and provides additional flexibility for to choose an API style such as synchronous or reactive.

有关详细信息,请参见REST Endpoints

See REST Endpoints for details.