DEV Community

Vijay SRJ
Vijay SRJ

Posted on

1

How to interpret and modify REST requests in Spring Boot ?

There is a standard way to interpret and modify all of your REST service requests in Spring Boot in a centralized way.
You don't have to duplicate logic in each of your REST service.

Here is a short post on how to implement it:

https://fullstackdeveloper.guru/2021/02/04/how-to-interpret-and-modify-rest-requests-in-spring-boot-in-a-centralized-way/

Top comments (2)

Collapse
 
pmgysel profile image
Philipp Gysel

Hey Vijay, great post on @RestControllerAdvice!🙌 By using a centralized Advice for different REST endpoints, this actually looks like aspect oriented programming (AOP)!

Collapse
 
vijaysrj profile image
Vijay SRJ

thanks a lot Philipp :) . yeah this is an AOP feature which Spring provides for creating REST services.

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay