1. 정적 컨텐츠
Spring Boot Features
Graceful shutdown is supported with all four embedded web servers (Jetty, Reactor Netty, Tomcat, and Undertow) and with both reactive and Servlet-based web applications. It occurs as part of closing the application context and is performed in the earliest
docs.spring.io
2. MVC와 템플릿 엔진
3. API
@ResponseBody
HTTP의 BODY에 문자 내용을 직접반환
viewResolver 대신 HttpMessageConverter가 동작
기본 문자처리: StringHttpMessageConverter
기본 객체처리: MappingJackson2HttpMessageConverter
byte 처리 등등 기타 여러 HttpMessageConverter가 기본으로 등록되어 있음
참고)
클라이언트의 HTTP Accept 헤더와 서버의 컨트롤러 반환 타입 정보 둘을 조합해서 HttpMessageConverter가 선택됨.
'스프링' 카테고리의 다른 글
회원 관리 예제 - 백엔드 개발(1) (0) | 2021.12.26 |
---|---|
스프링부트 라이브러리 및 view 설정 (0) | 2021.12.25 |
스프링부트 프로젝트 생성 및 IDE 설정 (0) | 2021.12.25 |
톰캣과 스프링, 그리고 ContextLoaderListener (0) | 2021.06.13 |
생성자 주입 (0) | 2021.04.05 |