Back
So the resulting two-controller definitions should do the likewise
@Controller@ResponseBodypublic class MyController { }@RestControllerpublic class MyRestController { }
@Controller
@ResponseBody
public class MyController { }
@RestController
public class MyRestController { }
31k questions
32.8k answers
501 comments
693 users