Tags
- ELB
- cloudfront
- CloudFormation
- AWS
- javaIteration
- 리눅스rabbitmq설치
- 어노테이션
- Heap
- javamap반복
- S3
- 인스턴스
- redis
- rabbitmq설치방법
- map
- jpa
- spring
- REST
- Iteration반복문
- rabbitmq설치명령어
- dynamodb
- db
- yumpackage
- Amazon
- AWS CloudFormation
- Cognito
- 차이점
- instance
- 자료구조
- java
- list
https://blog.naver.com/rla8860
- Today
- Total
SMALL
목록레스트컨트롤러 (1)
You are a developer, not a coder.
@Controller, @RestController 차이점
@Controller와 @RestController의 차이 HTTP Response Body가 생성되는 방식의 차이. 기존의 MVC @Controller는 View 기술을 사용하지만, @RestController는 객체를 반환할때 객체 데이터는 바로 JSON/XML 타입의 HTTP 응답을 직접 리턴하게 된다. @Controller의 메서드에 @ResponseBody를 선언해서 객체를 리턴 하는 방법도 있다. 실행 흐름 순서 @Controller의 실행 흐름 Client -> Request -> Dispatcher Servlet -> Handler Mapping -> Controller -> View -> Dispatcher Servlet -> Response -> Client @ResponseBody의 ..
FrameWorks/Spring (Boot포함)
2023. 5. 18. 13:38
LIST