Page 1
Consume RESTful API using Spring Framework’s RestClient
If your application uses Spring Framework 7 or later, you can now use the RestClient class to consume RESTful APIs. How exactly? Let’s find out in this tutorial! For example, I will create a new Spring Boot project version 4.0.0 or later, using the Web… Read More
Video: API Versioning with Path Parameters in Spring Framework 7 | Clean & Future-Proof REST APIs
Registering beans in Spring container with BeanRegistrar
Since version 7, Spring has introduced another way for us to register one or more beans at the same time in the Spring container using the implementation of the BeanRegistrar interface. How exactly? Let’s find out in this tutorial! I will create a Maven project:… Read More
Video: API Versioning with Request Headers in Spring Framework 7 — Best Practice Guide
Supported versions with API versioning using the Spring framework
When enabling API versioning using Spring Framework 7 or later, in addition to defining the default version for endpoints that do not have a version defined, you can also define a list of versions supported by your API by using the addSupportedVersions() method when configuring… Read More
API Versioning using path parameter with Spring framework
In the previous tutorial, I showed you how to enable API Versioning for the request header in a Spring application. In this tutorial, we will continue to learn how to enable API Versioning for the path parameter! I will also create a new Spring Boot… Read More
Video: What Is Dependency Injection? | Easy Explanation with Examples
Video: Apache Maven Introduction: POM File, Local & Remote Repositories Explained
API Versioning using request headers with Spring framework
API Versioning is a new feature of Spring supported since version 7, which helps us easily add a version for RESTful APIs in the request header, in the path parameter, in the media type parameter, in the query parameter, or a custom version resolver. In… Read More