Skip to content

Tag: controller

springboot override controller methods

I have to ask because none of the answers I found can help me to solve my problem. I have controller I want to override its methods because one specific customer has specific logics, with controller that can have exactly same methods signatures or overriding methods with RequestBody extending the original req…

Controller Endpoint Naming Convention

I have a controller endpoint and I need help with the naming convention. Basically, the endpoint is supposed to find a customer by their Id/Email (which is sent in the url of the request). Thus I need to have two endpoints, one for users/{id} and one for users/{email}. The issue is, the above wouldn’t w…