@RestController
Artifact
- spring-context
역할
- @Controller + @ResponseBody
- Json Response를 반환
사용법
@RestController
@RequestMapping("/authentication")
public class AuthenticationController {
...
}
@RestController
@RequestMapping("/authentication")
public class AuthenticationController {
...
}
댓글남기기