Reading Time: 2 minutes Small introduction of spring cloud why we need it.
Reading Time: 2 minutes Hi folks! we’ll focus on understanding the Spring Interceptors and how to use it correctly. What is Spring interceptors When a request is sent to spring controller, it will have to pass through Spring Interceptors (0 or more) before being processed by Controller. Spring Interceptor is only applied to requests that are sending to a Controller. Spring Interceptor – HandlerInterceptor preHandle(): This method is used to intercept the request before Continue Reading
Reading Time: 5 minutes We can use spring-boot:webflux’s WebClient to invoke a third-party service from within our spring boot application. This is asynchronous and reactive method supplied by spring for invoking of unmanaged services. We also saw how we can pass query params when invoking a 3rd party service and which case to chose with our requirements. Be cautious with what you are using and always document what you want and what you created so that things like these can be caught early during the development phase.
Reading Time: 3 minutes With the world moving towards the reactive and functional ways of programming, Spring also turned its steps on the same path. This leads to the origin of Spring Webflux. To understand the functional approach towards it, we first need to understand, what is Spring Webflux exactly? Before Spring version 5.0, the original web framework included in the Spring Framework, Spring Web MVC, was built for Continue Reading