From 00e5432e9306d8352b46a4725ac202c125597cf3 Mon Sep 17 00:00:00 2001 From: mjkhan21 Date: Thu, 25 Apr 2024 17:11:57 +0900 Subject: [PATCH] =?UTF-8?q?downloadView()=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/cokr/xit/foundation/boot/MvcConfig.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/main/java/cokr/xit/foundation/boot/MvcConfig.java b/src/main/java/cokr/xit/foundation/boot/MvcConfig.java index 034026e..b2e307f 100644 --- a/src/main/java/cokr/xit/foundation/boot/MvcConfig.java +++ b/src/main/java/cokr/xit/foundation/boot/MvcConfig.java @@ -23,6 +23,7 @@ import com.fasterxml.jackson.dataformat.xml.XmlMapper; import com.fasterxml.jackson.dataformat.xml.ser.ToXmlGenerator; import cokr.xit.foundation.web.AccessInitializer; +import cokr.xit.foundation.web.DownloadView; /**web mvc 설정(기존 dispatcher servlet) 클래스 * @author mjkhan @@ -138,4 +139,12 @@ public class MvcConfig implements WebMvcConfigurer { public RequestMappingHandlerMapping requestHandlers() { return new RequestMappingHandlerMapping(); } + + /**DownloadView를 반환한다. + * @return DownloadView + */ + @Bean + public DownloadView downloadView() { + return new DownloadView(); + } } \ No newline at end of file