Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- Application Event
- AuthenticationPrincipal
- @ConfigurationProperties
- 브루트포스
- 스프링부트
- 백트래킹
- Spring Security
- Application Runner
- WebApplication Type
- HttpMessageConverters
- JsonSerializer
- 외부설정
- HATEOAS
- @Profile
- EnableAutoConfiguration
- 백준
- 백기선
- cors
- 리소스핸들러
- 다익스트라
- 알고리즘
- 스프링 부트
- application.properties
- JPA
- Application Argument
- rest api
- 정적 리소스
- webjar
- OAuth2
- 리소스 서버
Archives
- Today
- Total
목록HttpMessageConverters (1)
아카이브

HttpMessageConverters HTTP 요청 본문과 Object의 변환을 담당하는 Spring MVC의 일부분이다 JSON 요청으로 들어온 경우, JsonHttpMessageConverter에 의해 JSON -> User Object로 변환되어 들어온다 이때 controller에서는 @RequestBody를 통해 spring에게 conversion을 명시한다 return할때 User Object를 반환하는데, 이때도 JsonHttpMessageConverter를 통해 JSON으로 response에 실어 보낸다 String, int 등의 primitive type을 return할 경우에는 StringMessageConverter를 통해 실어 보낸다
Spring/스프링 부트 개념과 활용
2021. 1. 3. 15:40