filmov
tv
Spring HTTP Interface Clients: Consuming HTTP services in Spring Boot
Показать описание
In this tutorial you will build out a full REST API using Spring MVC. Next you will learn how to call that service by creating an Http Interface client in a separate service.
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.
00:00:00 Introduction
00:01:34 Creating new projects in IntelliJ
00:03:29 Setting up the Article Service
00:04:47 Setting up the Content Service
00:06:38 Defining the Article class
00:08:47 Creating the API for the Article service
00:13:42 Setting up the Article client
00:16:11 Testing the endpoints manually
00:18:05 Implementing the HTTP Interface client
00:21:34 Adding new methods to the client
00:23:12 Creating the Content Controller
00:25:17 Testing the client's methods
00:27:30 Review and Conclusion
🔗Resources & Links mentioned in this video:
👋🏻Connect with me:
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.
00:00:00 Introduction
00:01:34 Creating new projects in IntelliJ
00:03:29 Setting up the Article Service
00:04:47 Setting up the Content Service
00:06:38 Defining the Article class
00:08:47 Creating the API for the Article service
00:13:42 Setting up the Article client
00:16:11 Testing the endpoints manually
00:18:05 Implementing the HTTP Interface client
00:21:34 Adding new methods to the client
00:23:12 Creating the Content Controller
00:25:17 Testing the client's methods
00:27:30 Review and Conclusion
🔗Resources & Links mentioned in this video:
👋🏻Connect with me:
Комментарии