Tags
- rabbitmq설치명령어
- javamap반복
- AWS
- yumpackage
- 인스턴스
- CloudFormation
- 어노테이션
- REST
- jpa
- list
- map
- spring
- dynamodb
- 리눅스rabbitmq설치
- redis
- Heap
- db
- Iteration반복문
- 자료구조
- instance
- Cognito
- cloudfront
- S3
- javaIteration
- rabbitmq설치방법
- Amazon
- ELB
- 차이점
- java
- AWS CloudFormation
https://blog.naver.com/rla8860
- Today
- Total
SMALL
목록controllerrestcontroller차이점 (1)
You are a developer, not a coder.
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/Hk3Jh/btqEGgShkOW/0OKi7rleXxkebAK4NXh4k0/img.png)
@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