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 |
Tags
- 백트래킹
- 백준
- 브루트포스
- Spring Security
- EnableAutoConfiguration
- Application Event
- WebApplication Type
- JPA
- 다익스트라
- AuthenticationPrincipal
- @ConfigurationProperties
- cors
- HATEOAS
- JsonSerializer
- webjar
- 백기선
- 외부설정
- rest api
- OAuth2
- 스프링부트
- 정적 리소스
- HttpMessageConverters
- 리소스 서버
- 리소스핸들러
- 알고리즘
- Application Argument
- Application Runner
- 스프링 부트
- application.properties
- @Profile
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