diff --git a/mvc/src/main/java/webmvc/org/springframework/web/servlet/mvc/asis/Controller.java b/mvc/src/main/java/webmvc/org/springframework/web/servlet/mvc/asis/Controller.java deleted file mode 100644 index 654c3b947a..0000000000 --- a/mvc/src/main/java/webmvc/org/springframework/web/servlet/mvc/asis/Controller.java +++ /dev/null @@ -1,19 +0,0 @@ -package webmvc.org.springframework.web.servlet.mvc.asis; - -import jakarta.servlet.http.HttpServletRequest; -import jakarta.servlet.http.HttpServletResponse; -import webmvc.org.springframework.web.servlet.ModelAndView; -import webmvc.org.springframework.web.servlet.mvc.tobe.Handler; -import webmvc.org.springframework.web.servlet.view.JspView; - -public interface Controller extends Handler { - - String execute(final HttpServletRequest req, final HttpServletResponse res) throws Exception; - - @Override - default ModelAndView handle(final HttpServletRequest request, - final HttpServletResponse response) throws Exception { - final String viewName = execute(request, response); - return new ModelAndView(new JspView(viewName)); - } -}