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 | 31 |
Tags
- 그리디
- 인프런
- java
- 백준
- db
- Proxy
- Spring Boot
- Greedy
- http
- AOP
- 자바
- Android
- 김영한
- spring
- SpringBoot
- 스프링
- 스프링 핵심 기능
- Thymeleaf
- JDBC
- JPQL
- jpa
- 알고리즘
- pointcut
- springdatajpa
- Exception
- transaction
- 스프링 핵심 원리
- kotlin
- QueryDSL
- Servlet
Archives
- Today
- Total
목록Adapter패턴 (1)
개발자되기 프로젝트
Controller V5 - 2
V5는 V3, V4 Controller 모두 대응이 가능하도록 작성해보자. FrontControllerV5에 ControllerV4도 추가해보자. 1. ControllerV4HandlerAdapter ControllerV4는 process() 실행 후 String viewName을 return한다. MyHandlerAdapter 인터페이스는 기본적으로 handler()에서 controller의 process()를 호출하고 ModelView를 반환. 따라서 Adapter에서 ModelView를 반환해야 하기 때문에 ControllerV4를 위한 Adapter는 별도로 ModelView생성필요. public class ControllerV4HandlerAdapter implements MyHandlerAda..
인프런/[인프런] 스프링 MVC 1
2021. 9. 12. 00:02