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.

Billboard image

Use Playwright to test. Use Playwright to monitor.

Join Vercel, CrowdStrike, and thousands of other teams that run end-to-end monitors on Checkly's programmable monitoring platform.

Get started now!

👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay