Tags
- REST
- javaIteration
- javamap반복
- java
- yumpackage
- dynamodb
- S3
- redis
- map
- Iteration반복문
- 인스턴스
- ELB
- 리눅스rabbitmq설치
- 자료구조
- rabbitmq설치방법
- CloudFormation
- AWS
- 어노테이션
- cloudfront
- Amazon
- 차이점
- AWS CloudFormation
- rabbitmq설치명령어
- Cognito
- spring
- Heap
- jpa
- list
- db
- instance
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