Is there a way to add Gzip for one method or controller in spring
@RequestMapping(value = "/system", method = {RequestMethod.GET})
@Gzip //<- Something similar this,
public ApiResponse status() throws Exception{
}
I dont want to enable it for the entire server using tomcat configuration, since my clients are not yet ready for consuming gzip,