Posts [개발자 블로그] HttpMessageConverters
Post
Cancel

[개발자 블로그] HttpMessageConverters

HttpMessageConverters

  • 컨트롤러에서 넘어온 데이터(JSON 같은)를 messageConverter로 사용하기 위해 사용
1
2
3
4
5
6
7
<mvc:annotation-driven>
	<!--<mvc:message-converters>-->
		<!--<bean class="org.springframework.http.converter.json.MappingJackson2HttpMessageConverter">-->
			<!--<property name="supportedMediaTypes" value="application/json" />-->
		<!--</bean>-->
	<!--</mvc:message-converters>-->
</mvc:annotation-driven>

출처

This post is licensed under CC BY 4.0 by the author.