From ddaab5bff9e707e747787d34f5d6d934ca64b1fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=96=AF=E7=8B=82=E7=9A=84=E7=8B=AE=E5=AD=90li?= <15040126243@163.com> Date: Mon, 23 May 2022 13:48:08 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E6=9B=B4=E6=94=B9=20Undertow=20?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E7=B1=BB=E5=91=BD=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../web/config/{CustomizationBean.java => UndertowConfig.java} | 2 +- .../src/main/resources/META-INF/spring.factories | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename ruoyi-common/ruoyi-common-web/src/main/java/com/ruoyi/common/web/config/{CustomizationBean.java => UndertowConfig.java} (91%) diff --git a/ruoyi-common/ruoyi-common-web/src/main/java/com/ruoyi/common/web/config/CustomizationBean.java b/ruoyi-common/ruoyi-common-web/src/main/java/com/ruoyi/common/web/config/UndertowConfig.java similarity index 91% rename from ruoyi-common/ruoyi-common-web/src/main/java/com/ruoyi/common/web/config/CustomizationBean.java rename to ruoyi-common/ruoyi-common-web/src/main/java/com/ruoyi/common/web/config/UndertowConfig.java index 354cf85e..fec461d9 100644 --- a/ruoyi-common/ruoyi-common-web/src/main/java/com/ruoyi/common/web/config/CustomizationBean.java +++ b/ruoyi-common/ruoyi-common-web/src/main/java/com/ruoyi/common/web/config/UndertowConfig.java @@ -12,7 +12,7 @@ import org.springframework.context.annotation.Configuration; * @author Lion Li */ @Configuration -public class CustomizationBean implements WebServerFactoryCustomizer { +public class UndertowConfig implements WebServerFactoryCustomizer { /** * 设置 Undertow 的 websocket 缓冲池 diff --git a/ruoyi-common/ruoyi-common-web/src/main/resources/META-INF/spring.factories b/ruoyi-common/ruoyi-common-web/src/main/resources/META-INF/spring.factories index dd9e5079..a6fc05d6 100644 --- a/ruoyi-common/ruoyi-common-web/src/main/resources/META-INF/spring.factories +++ b/ruoyi-common/ruoyi-common-web/src/main/resources/META-INF/spring.factories @@ -1,3 +1,3 @@ org.springframework.boot.autoconfigure.EnableAutoConfiguration=\ com.ruoyi.common.web.config.I18nConfig,\ - com.ruoyi.common.web.config.CustomizationBean + com.ruoyi.common.web.config.UndertowConfig