diff --git a/README.md b/README.md index 26062e38796bb2561e21497ee70e6ce88fe6e1e4..9ff05957d60ea22eea19651c8c2f590d12c0e1e1 100644 --- a/README.md +++ b/README.md @@ -63,18 +63,6 @@ smart-servlet 在 smart-http 的架构之上,通过继承 HttpHandle 实现了 8080 - - - org.smartboot.servlet - plugin-session - 0.2 - - - org.smartboot.servlet - plugin-dispatcher - 0.2 - - diff --git a/pom.xml b/pom.xml index ede6181c3d623c568931577d46db15d439f06a67..755bc43e5fd91a4f2fb7043acdecbe2a1c555ee3 100644 --- a/pom.xml +++ b/pom.xml @@ -9,7 +9,7 @@ pom - 1.1.22 + 1.2.0 0.2 3.1.0 diff --git a/servlet-core/pom.xml b/servlet-core/pom.xml index f39a12e2466dfad0b590e6c78b6e28672f066025..59ed9c3c1531c44529c02a54cfcd4874dff9669d 100644 --- a/servlet-core/pom.xml +++ b/servlet-core/pom.xml @@ -1,4 +1,14 @@ + + diff --git a/servlet-core/src/main/java/org/smartboot/servlet/ContainerRuntime.java b/servlet-core/src/main/java/org/smartboot/servlet/ContainerRuntime.java index cd552332451f70602f0f134a9547ee312910053e..c17fd006b2edaf3f8e8e46c23a0c80b656f13856 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/ContainerRuntime.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/ContainerRuntime.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2020, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: ServletContainerRuntime.java - * Date: 2020-12-31 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.servlet; diff --git a/servlet-core/src/main/java/org/smartboot/servlet/DefaultServlet.java b/servlet-core/src/main/java/org/smartboot/servlet/DefaultServlet.java index 3fcb88fff2efff753943b8564467629389a1b479..e1776e580d20f7ed9dae1e53ebbebbe64fb69952 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/DefaultServlet.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/DefaultServlet.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2020, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: DefaultServlet.java - * Date: 2020-11-28 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.servlet; diff --git a/servlet-core/src/main/java/org/smartboot/servlet/HandlerContext.java b/servlet-core/src/main/java/org/smartboot/servlet/HandlerContext.java index 5ab424a48c7a885c3441d2fb89dce2dacca5e107..96465a9317ae9acb3a0ad35f9f25ddb250441ea1 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/HandlerContext.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/HandlerContext.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2020, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: HandlerContext.java - * Date: 2020-11-28 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.servlet; diff --git a/servlet-core/src/main/java/org/smartboot/servlet/HandlesTypesLoader.java b/servlet-core/src/main/java/org/smartboot/servlet/HandlesTypesLoader.java index 086948662edb8f4d38ea688b02c53ed903e2ca6f..cdeb53b8dab54c2d69a022b99427ae1776f2f442 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/HandlesTypesLoader.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/HandlesTypesLoader.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2021, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: HandlesTypesLoader.java - * Date: 2021-06-27 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.servlet; diff --git a/servlet-core/src/main/java/org/smartboot/servlet/ServletContextRuntime.java b/servlet-core/src/main/java/org/smartboot/servlet/ServletContextRuntime.java index 4b8e12bcae13146e32eb6d4a0d0ae037f13270db..7f69b10f8f7debbc824583204e1f528cc3c44fe0 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/ServletContextRuntime.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/ServletContextRuntime.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2020, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: ContainerRuntime.java - * Date: 2020-11-28 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.servlet; diff --git a/servlet-core/src/main/java/org/smartboot/servlet/SmartHttpServletRequest.java b/servlet-core/src/main/java/org/smartboot/servlet/SmartHttpServletRequest.java index 649fd26c4ef9e7a6aced25369d249198f14f7080..243bfb2ac01579438c0e20c84bc3654951c2decb 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/SmartHttpServletRequest.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/SmartHttpServletRequest.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2020, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: SmartHttpServletRequest.java - * Date: 2020-11-28 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.servlet; diff --git a/servlet-core/src/main/java/org/smartboot/servlet/WebXmlParseEngine.java b/servlet-core/src/main/java/org/smartboot/servlet/WebXmlParseEngine.java index 8851e01ace5f63b4cf79cf674713bb06c9b746fa..59a3ea38dd5ede6ea1dd0dd6cce592415f882450 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/WebXmlParseEngine.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/WebXmlParseEngine.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2020, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: WebXmlParseEngine.java - * Date: 2020-12-31 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.servlet; diff --git a/servlet-core/src/main/java/org/smartboot/servlet/conf/DeploymentInfo.java b/servlet-core/src/main/java/org/smartboot/servlet/conf/DeploymentInfo.java index eb3f2c717ad8db9426187f8cd50ff19f886cc1a9..3d95bb9bfc55b894eb27f79c11cfb141501b8f5a 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/conf/DeploymentInfo.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/conf/DeploymentInfo.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2020, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: DeploymentInfo.java - * Date: 2020-11-28 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.servlet.conf; diff --git a/servlet-core/src/main/java/org/smartboot/servlet/conf/ErrorPageInfo.java b/servlet-core/src/main/java/org/smartboot/servlet/conf/ErrorPageInfo.java index 092d75f0dba9ce6bd5fcf80399c6a37576f496f1..57ad16b6ba4be4b8d8c5ac1c7642965db54403ed 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/conf/ErrorPageInfo.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/conf/ErrorPageInfo.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2020, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: ErrorPageInfo.java - * Date: 2020-11-28 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.servlet.conf; diff --git a/servlet-core/src/main/java/org/smartboot/servlet/conf/FilterInfo.java b/servlet-core/src/main/java/org/smartboot/servlet/conf/FilterInfo.java index f5cc32f8564b098115e9b1f90d2d65dbef8c2b55..ed39e5a4d9f4663948187ec17d94c89fe04fe04c 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/conf/FilterInfo.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/conf/FilterInfo.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2020, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: FilterInfo.java - * Date: 2020-11-28 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.servlet.conf; diff --git a/servlet-core/src/main/java/org/smartboot/servlet/conf/FilterMappingInfo.java b/servlet-core/src/main/java/org/smartboot/servlet/conf/FilterMappingInfo.java index 23ba8faca82a5a44277e5af4dd8612a5e6545533..38c5e798875321ff1ba9fc0dc9a6701708043d51 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/conf/FilterMappingInfo.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/conf/FilterMappingInfo.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2020, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: FilterMappingInfo.java - * Date: 2020-11-28 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.servlet.conf; diff --git a/servlet-core/src/main/java/org/smartboot/servlet/conf/ServletContainerInitializerInfo.java b/servlet-core/src/main/java/org/smartboot/servlet/conf/ServletContainerInitializerInfo.java index 162e31d96b258d0f610dbfa29772f4e24109dab8..81dc02be060a21325fdbff753ef2dc7b36572926 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/conf/ServletContainerInitializerInfo.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/conf/ServletContainerInitializerInfo.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2021, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: ServletContainerInitializerInfo.java - * Date: 2021-05-10 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.servlet.conf; diff --git a/servlet-core/src/main/java/org/smartboot/servlet/conf/ServletInfo.java b/servlet-core/src/main/java/org/smartboot/servlet/conf/ServletInfo.java index a7f1682c7c9938f3e9aa0379fb168464822ecdff..e32886d70d3747dd066615f64517cd5b4d09e021 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/conf/ServletInfo.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/conf/ServletInfo.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2020, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: ServletInfo.java - * Date: 2020-11-28 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.servlet.conf; diff --git a/servlet-core/src/main/java/org/smartboot/servlet/conf/ServletMappingInfo.java b/servlet-core/src/main/java/org/smartboot/servlet/conf/ServletMappingInfo.java index fc8f2f43102840114bddc0e67b26c5b8b11f5eca..fef9f2c9d325339a6b5db61b3c5f18e1da1e90fd 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/conf/ServletMappingInfo.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/conf/ServletMappingInfo.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2020, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: ServletMappingInfo.java - * Date: 2020-11-28 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.servlet.conf; diff --git a/servlet-core/src/main/java/org/smartboot/servlet/conf/WebAppInfo.java b/servlet-core/src/main/java/org/smartboot/servlet/conf/WebAppInfo.java index 1de54aa7dbbf09d33cb680a0c02ea78d090295b3..8e233a6047096b781347a28e03f32acdecfa3f1e 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/conf/WebAppInfo.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/conf/WebAppInfo.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2020, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: WebAppInfo.java - * Date: 2020-11-28 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.servlet.conf; diff --git a/servlet-core/src/main/java/org/smartboot/servlet/enums/FilterMappingType.java b/servlet-core/src/main/java/org/smartboot/servlet/enums/FilterMappingType.java index 7300db425d9c9eb8035b7cca947bd68492f508d1..e8776b9afbed3163ddc304324163101a60ec86a5 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/enums/FilterMappingType.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/enums/FilterMappingType.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2020, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: FilterMappingType.java - * Date: 2020-11-28 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.servlet.enums; diff --git a/servlet-core/src/main/java/org/smartboot/servlet/enums/ServletContextPathType.java b/servlet-core/src/main/java/org/smartboot/servlet/enums/ServletContextPathType.java index 697cd9ef00ddd1886889125f916cf383729aced4..8298272fcf22d5b8c52888759a07545dac5d21c9 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/enums/ServletContextPathType.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/enums/ServletContextPathType.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2020, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: ServletContextPathType.java - * Date: 2020-11-28 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.servlet.enums; diff --git a/servlet-core/src/main/java/org/smartboot/servlet/enums/ServletMappingTypeEnum.java b/servlet-core/src/main/java/org/smartboot/servlet/enums/ServletMappingTypeEnum.java index e6545355b71c570b8f8222543a218bc32dc77e95..0bd38c91873a26997d138446dc89972aa531e359 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/enums/ServletMappingTypeEnum.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/enums/ServletMappingTypeEnum.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2020, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: ServletMappingTypeEnum.java - * Date: 2020-11-28 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.servlet.enums; diff --git a/servlet-core/src/main/java/org/smartboot/servlet/exception/WrappedRuntimeException.java b/servlet-core/src/main/java/org/smartboot/servlet/exception/WrappedRuntimeException.java index 59c1b4b6b7026317c8b3f39fdb068cfb155c2011..329891c350a705d32075eeb9666f5a9c7b78985a 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/exception/WrappedRuntimeException.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/exception/WrappedRuntimeException.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2020, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: WrappedRuntimeException.java - * Date: 2020-11-28 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.servlet.exception; diff --git a/servlet-core/src/main/java/org/smartboot/servlet/handler/FilterMatchHandler.java b/servlet-core/src/main/java/org/smartboot/servlet/handler/FilterMatchHandler.java index f8539a570788383b7b9733160954a32ead5d568c..4599480ae59288e4cd1c757818f699492cd44b07 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/handler/FilterMatchHandler.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/handler/FilterMatchHandler.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2020, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: FilterMatchHandler.java - * Date: 2020-11-28 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.servlet.handler; diff --git a/servlet-core/src/main/java/org/smartboot/servlet/handler/Handler.java b/servlet-core/src/main/java/org/smartboot/servlet/handler/Handler.java index 577433d7aa42100bf0729bd66c62adf35e5428df..1ab547df1feda782aba87ce8543432204c69b717 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/handler/Handler.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/handler/Handler.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2020, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: Handler.java - * Date: 2020-11-28 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.servlet.handler; diff --git a/servlet-core/src/main/java/org/smartboot/servlet/handler/HandlerPipeline.java b/servlet-core/src/main/java/org/smartboot/servlet/handler/HandlerPipeline.java index 28bac1bf0191fb9a3f0ee0331a4d54c0ffdb87ef..1d24089bd08f904512119383192333bf18b06c2d 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/handler/HandlerPipeline.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/handler/HandlerPipeline.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2020, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: HandlePipeline.java - * Date: 2020-11-28 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.servlet.handler; diff --git a/servlet-core/src/main/java/org/smartboot/servlet/handler/ServletMatchHandler.java b/servlet-core/src/main/java/org/smartboot/servlet/handler/ServletMatchHandler.java index 9c8ca2e74195ae6b711dae479a5d16bb81a8df21..146b906ea16eaa0e37fcf2d914769b097858af66 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/handler/ServletMatchHandler.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/handler/ServletMatchHandler.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2020, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: ServletMatchHandler.java - * Date: 2020-11-28 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.servlet.handler; diff --git a/servlet-core/src/main/java/org/smartboot/servlet/handler/ServletRequestListenerHandler.java b/servlet-core/src/main/java/org/smartboot/servlet/handler/ServletRequestListenerHandler.java index 708c41b19fd599536d9ec9dcdbf47d9398c05e5c..0773af3569826683f9136398123e029bbe589109 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/handler/ServletRequestListenerHandler.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/handler/ServletRequestListenerHandler.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2020, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: ServletRequestListenerHandler.java - * Date: 2020-11-28 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.servlet.handler; diff --git a/servlet-core/src/main/java/org/smartboot/servlet/handler/ServletServiceHandler.java b/servlet-core/src/main/java/org/smartboot/servlet/handler/ServletServiceHandler.java index 39348624e0098e6d089f3a49ca040c2de0169b18..6081c1222fb060041bb2304dc13c9eaa5c2a082f 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/handler/ServletServiceHandler.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/handler/ServletServiceHandler.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2020, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: ServletServiceHandler.java - * Date: 2020-11-28 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.servlet.handler; diff --git a/servlet-core/src/main/java/org/smartboot/servlet/impl/ApplicationFilterRegistration.java b/servlet-core/src/main/java/org/smartboot/servlet/impl/ApplicationFilterRegistration.java index 8083c1a3163fa63ca1cacdabc32845b2e5c583ec..771dc5c8af218172354d71a248aba43f568b2305 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/impl/ApplicationFilterRegistration.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/impl/ApplicationFilterRegistration.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2020, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: ApplicationFilterRegistration.java - * Date: 2020-11-28 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.servlet.impl; diff --git a/servlet-core/src/main/java/org/smartboot/servlet/impl/ApplicationServletRegistration.java b/servlet-core/src/main/java/org/smartboot/servlet/impl/ApplicationServletRegistration.java index 9977c1c796148b5c48f2892d21515c8590874fb4..e2f75c2190fa1f835606dba8cc9150c1cdb58579 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/impl/ApplicationServletRegistration.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/impl/ApplicationServletRegistration.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2020, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: ApplicationServletRegistration.java - * Date: 2020-11-28 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.servlet.impl; diff --git a/servlet-core/src/main/java/org/smartboot/servlet/impl/AsyncContextImpl.java b/servlet-core/src/main/java/org/smartboot/servlet/impl/AsyncContextImpl.java index 22f78bbfd82502ac94ec62ac0970fd7b4f25f854..9a2ca15b2700f063526091b49d221ce835cc72e6 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/impl/AsyncContextImpl.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/impl/AsyncContextImpl.java @@ -1,3 +1,13 @@ +/* + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] + * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. + */ + package org.smartboot.servlet.impl; import javax.servlet.AsyncContext; diff --git a/servlet-core/src/main/java/org/smartboot/servlet/impl/FilterConfigImpl.java b/servlet-core/src/main/java/org/smartboot/servlet/impl/FilterConfigImpl.java index 0c68ab2f043b4ca6108502141a0a2bcfa269c08d..041138c2b554e24f59ba4364a7acef32ac5fae2e 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/impl/FilterConfigImpl.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/impl/FilterConfigImpl.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2020, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: FilterConfigImpl.java - * Date: 2020-11-28 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.servlet.impl; diff --git a/servlet-core/src/main/java/org/smartboot/servlet/impl/HttpServletRequestImpl.java b/servlet-core/src/main/java/org/smartboot/servlet/impl/HttpServletRequestImpl.java index 3529ef9d717fde403e9b523de8a82654796bb6a9..6f7e18b9fce3bf9786a947a23155404cd9b246fb 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/impl/HttpServletRequestImpl.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/impl/HttpServletRequestImpl.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2020, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: HttpServletRequestImpl.java - * Date: 2020-11-28 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.servlet.impl; @@ -20,11 +21,11 @@ import org.smartboot.servlet.SmartHttpServletRequest; import org.smartboot.servlet.conf.ServletInfo; import org.smartboot.servlet.impl.fileupload.SmartHttpRequestContext; import org.smartboot.servlet.provider.SessionProvider; -import org.smartboot.servlet.util.DateUtil; import org.smartboot.servlet.third.commons.fileupload.FileItem; import org.smartboot.servlet.third.commons.fileupload.FileUpload; import org.smartboot.servlet.third.commons.fileupload.FileUploadException; import org.smartboot.servlet.third.commons.fileupload.disk.DiskFileItemFactory; +import org.smartboot.servlet.util.DateUtil; import javax.servlet.AsyncContext; import javax.servlet.DispatcherType; @@ -534,7 +535,7 @@ public class HttpServletRequestImpl implements SmartHttpServletRequest { if (index < 0) { return request.getRemoteAddress().getPort(); } else { - return NumberUtils.toInt(host.substring(index), -1); + return NumberUtils.toInt(host.substring(index + 1), -1); } } @@ -580,7 +581,7 @@ public class HttpServletRequestImpl implements SmartHttpServletRequest { @Override public boolean isSecure() { - throw new UnsupportedOperationException(); + return request.isSecure(); } @Override diff --git a/servlet-core/src/main/java/org/smartboot/servlet/impl/HttpServletResponseImpl.java b/servlet-core/src/main/java/org/smartboot/servlet/impl/HttpServletResponseImpl.java index 8a3b668990969f5a2bf0e0670b75f53838df8957..6185a27f350bd7ae9cfae30e7af8cce44ce4a0b2 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/impl/HttpServletResponseImpl.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/impl/HttpServletResponseImpl.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2020, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: HttpServletResponseImpl.java - * Date: 2020-11-28 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.servlet.impl; diff --git a/servlet-core/src/main/java/org/smartboot/servlet/impl/PartImpl.java b/servlet-core/src/main/java/org/smartboot/servlet/impl/PartImpl.java index 1ee4b0a963fb49dd5d156485cdc56d576abf9f52..5243d59cb5ba40f3e88b34e8625757c91d9063e1 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/impl/PartImpl.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/impl/PartImpl.java @@ -1,3 +1,13 @@ +/* + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] + * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. + */ + package org.smartboot.servlet.impl; import org.smartboot.servlet.third.commons.fileupload.FileItem; diff --git a/servlet-core/src/main/java/org/smartboot/servlet/impl/ServletConfigImpl.java b/servlet-core/src/main/java/org/smartboot/servlet/impl/ServletConfigImpl.java index a8f5842ee35276eb4c4f8093102d1a55d3c1c8c5..30f8687624cc4a66189b1574964e8c1674da036e 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/impl/ServletConfigImpl.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/impl/ServletConfigImpl.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2020, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: ServletConfigImpl.java - * Date: 2020-11-28 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.servlet.impl; diff --git a/servlet-core/src/main/java/org/smartboot/servlet/impl/ServletContextImpl.java b/servlet-core/src/main/java/org/smartboot/servlet/impl/ServletContextImpl.java index afcba91e6c81dc4f338f86238557320b7e455148..457d1dd6fe728e07dc89a369f3b1a0e9bfea41b6 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/impl/ServletContextImpl.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/impl/ServletContextImpl.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2020, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: ServletContextImpl.java - * Date: 2020-11-28 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.servlet.impl; diff --git a/servlet-core/src/main/java/org/smartboot/servlet/impl/ServletInputStreamImpl.java b/servlet-core/src/main/java/org/smartboot/servlet/impl/ServletInputStreamImpl.java index 8e0cf225853f4f0beca3ccabfcfaa805f739bb9a..eba58fa2ebce53f7fb328bcaf470cf557d8ae493 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/impl/ServletInputStreamImpl.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/impl/ServletInputStreamImpl.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2020, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: ServletInputStreamImpl.java - * Date: 2020-12-12 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.servlet.impl; diff --git a/servlet-core/src/main/java/org/smartboot/servlet/impl/ServletOutputStreamImpl.java b/servlet-core/src/main/java/org/smartboot/servlet/impl/ServletOutputStreamImpl.java index d5bb0cabee807b70ed4f543f0281b0ae97e08827..50e3110da2665453df26a6547e30b3a3544dde3d 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/impl/ServletOutputStreamImpl.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/impl/ServletOutputStreamImpl.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2020, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: ServletOutputStreamImpl.java - * Date: 2020-11-28 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.servlet.impl; diff --git a/servlet-core/src/main/java/org/smartboot/servlet/impl/ServletPrintWriter.java b/servlet-core/src/main/java/org/smartboot/servlet/impl/ServletPrintWriter.java index be2834285aa8eddb9ab25548f7f7baa83bc4c8ee..0c2fce5306f5a0b5f99a2979d39495cd34f4d902 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/impl/ServletPrintWriter.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/impl/ServletPrintWriter.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2020, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: ServletPrintWriter.java - * Date: 2020-11-28 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.servlet.impl; diff --git a/servlet-core/src/main/java/org/smartboot/servlet/impl/SessionCookieConfigImpl.java b/servlet-core/src/main/java/org/smartboot/servlet/impl/SessionCookieConfigImpl.java index 495a7bd6fb9e11af73273fea64ddb504af142113..2980022636601c8dab9641f5abfaa68256edabc9 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/impl/SessionCookieConfigImpl.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/impl/SessionCookieConfigImpl.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2020, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: SessionCookieConfigImpl.java - * Date: 2020-11-28 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.servlet.impl; diff --git a/servlet-core/src/main/java/org/smartboot/servlet/impl/fileupload/SmartHttpRequestContext.java b/servlet-core/src/main/java/org/smartboot/servlet/impl/fileupload/SmartHttpRequestContext.java index e82eb1b128ca973625804d8a80e1cb54e17290e3..c2e8a11871bb792f3c6c9911454b2cc9f69cb0aa 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/impl/fileupload/SmartHttpRequestContext.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/impl/fileupload/SmartHttpRequestContext.java @@ -1,10 +1,12 @@ -/******************************************************************************* - * Copyright (c) 2017-2020, org.smartboot. All rights reserved. - * project name: smart-http - * file name: SmartHttpRequestContext.java - * Date: 2020-04-03 - * Author: sandao (zhengjunweimail@163.com) - ******************************************************************************/ +/* + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] + * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. + */ package org.smartboot.servlet.impl.fileupload; diff --git a/servlet-core/src/main/java/org/smartboot/servlet/plugins/Plugin.java b/servlet-core/src/main/java/org/smartboot/servlet/plugins/Plugin.java index 646384e62b557bf70ec1d9fba70c6438cf3935f9..068882663c77f96770e2c5c194bd2a642d18bbb3 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/plugins/Plugin.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/plugins/Plugin.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2020, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: Plugin.java - * Date: 2020-11-28 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.servlet.plugins; diff --git a/servlet-core/src/main/java/org/smartboot/servlet/plugins/PluginException.java b/servlet-core/src/main/java/org/smartboot/servlet/plugins/PluginException.java index f64bd945d4f0d6c8e86fb37717175b84160843f7..f8e31a69027ce2dcf71a4ec107c3e59277d5bc24 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/plugins/PluginException.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/plugins/PluginException.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2020, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: PluginException.java - * Date: 2020-11-28 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.servlet.plugins; diff --git a/servlet-core/src/main/java/org/smartboot/servlet/plugins/dispatcher/DispatcherPlugin.java b/servlet-core/src/main/java/org/smartboot/servlet/plugins/dispatcher/DispatcherPlugin.java index ac91621d5ce12190c5c1cfc5adb1036ac3306807..66f689ab81e23ff44aa1dff87a06ac6d60834984 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/plugins/dispatcher/DispatcherPlugin.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/plugins/dispatcher/DispatcherPlugin.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2020, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: DispatcherPlugin.java - * Date: 2020-11-28 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.servlet.plugins.dispatcher; diff --git a/servlet-core/src/main/java/org/smartboot/servlet/plugins/dispatcher/DispatcherProviderImpl.java b/servlet-core/src/main/java/org/smartboot/servlet/plugins/dispatcher/DispatcherProviderImpl.java index 7f64559fe72810165cb977995918405c566a2010..ccbafeea5a279dc4fb9370d7622180e4a49af98c 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/plugins/dispatcher/DispatcherProviderImpl.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/plugins/dispatcher/DispatcherProviderImpl.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2020, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: DispatcherProviderImpl.java - * Date: 2020-11-28 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.servlet.plugins.dispatcher; diff --git a/servlet-core/src/main/java/org/smartboot/servlet/plugins/dispatcher/RequestDispatcherImpl.java b/servlet-core/src/main/java/org/smartboot/servlet/plugins/dispatcher/RequestDispatcherImpl.java index c674dbf46104645e40daebcdb4dece8401528d67..52f1cb920cb2f636ee77b0f3a854d83d8750184b 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/plugins/dispatcher/RequestDispatcherImpl.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/plugins/dispatcher/RequestDispatcherImpl.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2020, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: RequestDispatcherImpl.java - * Date: 2020-11-28 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.servlet.plugins.dispatcher; diff --git a/servlet-core/src/main/java/org/smartboot/servlet/plugins/dispatcher/ServletRequestDispatcherWrapper.java b/servlet-core/src/main/java/org/smartboot/servlet/plugins/dispatcher/ServletRequestDispatcherWrapper.java index 9aeea98874b4b3cb09c930fe8daba241764fac8e..cc315be0545656d65677a297c9b8416f5ca8684d 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/plugins/dispatcher/ServletRequestDispatcherWrapper.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/plugins/dispatcher/ServletRequestDispatcherWrapper.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2020, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: ServletRequestDispatcherWrapper.java - * Date: 2020-11-28 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.servlet.plugins.dispatcher; diff --git a/servlet-core/src/main/java/org/smartboot/servlet/plugins/dispatcher/ServletResponseDispatcherWrapper.java b/servlet-core/src/main/java/org/smartboot/servlet/plugins/dispatcher/ServletResponseDispatcherWrapper.java index 259d02249a57d3b3ee467d2fe5bead5bce20886e..6713e2003c96ebdec4582c06c9085f1de18962b1 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/plugins/dispatcher/ServletResponseDispatcherWrapper.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/plugins/dispatcher/ServletResponseDispatcherWrapper.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2020, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: ServletResponseDispatcherWrapper.java - * Date: 2020-11-28 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.servlet.plugins.dispatcher; diff --git a/servlet-core/src/main/java/org/smartboot/servlet/plugins/session/HttpSessionImpl.java b/servlet-core/src/main/java/org/smartboot/servlet/plugins/session/HttpSessionImpl.java index a2a80501923bed9bc44606a14d036ebbea0c21c8..d86aaa34ec20982d6d69cc6c5c60a59f2abbabae 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/plugins/session/HttpSessionImpl.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/plugins/session/HttpSessionImpl.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2020, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: HttpSessionImpl.java - * Date: 2020-11-28 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.servlet.plugins.session; diff --git a/servlet-core/src/main/java/org/smartboot/servlet/plugins/session/SessionPlugin.java b/servlet-core/src/main/java/org/smartboot/servlet/plugins/session/SessionPlugin.java index ae27a55ea002582aa0c1fbff8efe00602402aca1..96bc2810e0dec64a2909ef9f348a41f2cebdaa64 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/plugins/session/SessionPlugin.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/plugins/session/SessionPlugin.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2020, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: SessionPlugin.java - * Date: 2020-11-28 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.servlet.plugins.session; diff --git a/servlet-core/src/main/java/org/smartboot/servlet/plugins/session/SessionProviderImpl.java b/servlet-core/src/main/java/org/smartboot/servlet/plugins/session/SessionProviderImpl.java index 7e7ce4c2075d7eae727b3cb94dea2ba64a91a836..a86c8fb34c535dfd5c6811be72888fb5651b3657 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/plugins/session/SessionProviderImpl.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/plugins/session/SessionProviderImpl.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2020, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: SessionProviderImpl.java - * Date: 2020-11-28 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.servlet.plugins.session; diff --git a/servlet-core/src/main/java/org/smartboot/servlet/plugins/websocket/WebsocketPlugin.java b/servlet-core/src/main/java/org/smartboot/servlet/plugins/websocket/WebsocketPlugin.java index 896a8a67c8f7f067028bdc2ca8618c2978b263c9..532a99cbb0ffe36d10cdee4f5051a87866463cc6 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/plugins/websocket/WebsocketPlugin.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/plugins/websocket/WebsocketPlugin.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2021, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: WebsocketPlugin.java - * Date: 2021-03-28 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.servlet.plugins.websocket; diff --git a/servlet-core/src/main/java/org/smartboot/servlet/plugins/websocket/WebsocketProviderImpl.java b/servlet-core/src/main/java/org/smartboot/servlet/plugins/websocket/WebsocketProviderImpl.java index 8262dd4651545223fb5762f107b4d33c17e1d520..f192d7ed03a26c88f3c2d8a0b95ceae864fdb4c7 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/plugins/websocket/WebsocketProviderImpl.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/plugins/websocket/WebsocketProviderImpl.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2021, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: WebsocketProviderImpl.java - * Date: 2021-04-25 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.servlet.plugins.websocket; diff --git a/servlet-core/src/main/java/org/smartboot/servlet/plugins/websocket/impl/AnnotatedEndpoint.java b/servlet-core/src/main/java/org/smartboot/servlet/plugins/websocket/impl/AnnotatedEndpoint.java index 64eda94ebd97a5d5fd12a853a225f601702af14d..5eea8086378e042b5771415aedef11ed288a7040 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/plugins/websocket/impl/AnnotatedEndpoint.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/plugins/websocket/impl/AnnotatedEndpoint.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2021, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: AnnotatedEndpoint.java - * Date: 2021-04-26 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.servlet.plugins.websocket.impl; diff --git a/servlet-core/src/main/java/org/smartboot/servlet/plugins/websocket/impl/HandlerWrapper.java b/servlet-core/src/main/java/org/smartboot/servlet/plugins/websocket/impl/HandlerWrapper.java index 44e8cba3288fd3c6b274e5a23eb5b4c731e531db..e2bb99a93cc2f8381947a608fdf5c8ba76109cfd 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/plugins/websocket/impl/HandlerWrapper.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/plugins/websocket/impl/HandlerWrapper.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2021, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: HandlerWrapper.java - * Date: 2021-04-24 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.servlet.plugins.websocket.impl; diff --git a/servlet-core/src/main/java/org/smartboot/servlet/plugins/websocket/impl/OnMessageConfig.java b/servlet-core/src/main/java/org/smartboot/servlet/plugins/websocket/impl/OnMessageConfig.java index 5bda27499c3483d707d5f37e0ad8f993a9058c36..7c3a082bff79238643bc4fcdb07295e9c95675ad 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/plugins/websocket/impl/OnMessageConfig.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/plugins/websocket/impl/OnMessageConfig.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2021, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: AnnotatedMessageHandler.java - * Date: 2021-04-27 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.servlet.plugins.websocket.impl; diff --git a/servlet-core/src/main/java/org/smartboot/servlet/plugins/websocket/impl/PathNode.java b/servlet-core/src/main/java/org/smartboot/servlet/plugins/websocket/impl/PathNode.java index 295d492f4f8c048abffcfeb938874f6cc1f297b5..2ddf5029e3285aca65ca792445155bb235ea8310 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/plugins/websocket/impl/PathNode.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/plugins/websocket/impl/PathNode.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2021, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: PathNode.java - * Date: 2021-05-02 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.servlet.plugins.websocket.impl; diff --git a/servlet-core/src/main/java/org/smartboot/servlet/plugins/websocket/impl/SmartServerEndpointConfig.java b/servlet-core/src/main/java/org/smartboot/servlet/plugins/websocket/impl/SmartServerEndpointConfig.java index cb3a7fdc4ea46992504f177e983c8ed833a17d1e..44d85d8e5f898990c241efd7bd740878fdbca0ed 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/plugins/websocket/impl/SmartServerEndpointConfig.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/plugins/websocket/impl/SmartServerEndpointConfig.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2021, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: ServerEndpointConfigImpl.java - * Date: 2021-04-24 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.servlet.plugins.websocket.impl; diff --git a/servlet-core/src/main/java/org/smartboot/servlet/plugins/websocket/impl/WebsocketServerContainer.java b/servlet-core/src/main/java/org/smartboot/servlet/plugins/websocket/impl/WebsocketServerContainer.java index b2ec73fe9154c223c3c7549a91cdd242247e7c8b..95cbcff821f3aed03fa62872c4f2fe335cff8271 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/plugins/websocket/impl/WebsocketServerContainer.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/plugins/websocket/impl/WebsocketServerContainer.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2021, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: SmartWebsocketContainer.java - * Date: 2021-04-24 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.servlet.plugins.websocket.impl; diff --git a/servlet-core/src/main/java/org/smartboot/servlet/plugins/websocket/impl/WebsocketSession.java b/servlet-core/src/main/java/org/smartboot/servlet/plugins/websocket/impl/WebsocketSession.java index 0f70ab86b50c628bcdc87e86e5c24f6e67559faf..e088aa3dc082a68c9300255298dcf7732de97e16 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/plugins/websocket/impl/WebsocketSession.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/plugins/websocket/impl/WebsocketSession.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2021, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: WebsocketSession.java - * Date: 2021-04-24 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.servlet.plugins.websocket.impl; diff --git a/servlet-core/src/main/java/org/smartboot/servlet/plugins/websocket/impl/WsHandshakeRequest.java b/servlet-core/src/main/java/org/smartboot/servlet/plugins/websocket/impl/WsHandshakeRequest.java index cf43522e7f4c192d242c2b87997293908412f157..27ccdc9a9ca7dc28796c20170794df0743b89791 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/plugins/websocket/impl/WsHandshakeRequest.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/plugins/websocket/impl/WsHandshakeRequest.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2021, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: WsHandshakeRequest.java - * Date: 2021-04-24 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.servlet.plugins.websocket.impl; diff --git a/servlet-core/src/main/java/org/smartboot/servlet/provider/DispatcherProvider.java b/servlet-core/src/main/java/org/smartboot/servlet/provider/DispatcherProvider.java index ebbdffcfa76adc97c94186586fd82b375b7aa2b4..ae6599051aa2d483020c743400f4bcd0992e732e 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/provider/DispatcherProvider.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/provider/DispatcherProvider.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2020, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: DispatcherProvider.java - * Date: 2020-11-28 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.servlet.provider; diff --git a/servlet-core/src/main/java/org/smartboot/servlet/provider/MemoryPoolProvider.java b/servlet-core/src/main/java/org/smartboot/servlet/provider/MemoryPoolProvider.java index c349b1d6fd12a5363259d5dc5f4ed4f078b7e068..25f3133046ac076644bbe4444dba4e7eef335b5c 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/provider/MemoryPoolProvider.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/provider/MemoryPoolProvider.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2020, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: MemoryPoolProvider.java - * Date: 2020-12-08 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.servlet.provider; diff --git a/servlet-core/src/main/java/org/smartboot/servlet/provider/SessionProvider.java b/servlet-core/src/main/java/org/smartboot/servlet/provider/SessionProvider.java index 0daa93ea0a762cce77d4e6402d8767859d7ea94c..07f94ded59efdcf4e891caef852381ed8c9d7883 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/provider/SessionProvider.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/provider/SessionProvider.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2020, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: SessionProvider.java - * Date: 2020-11-28 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.servlet.provider; diff --git a/servlet-core/src/main/java/org/smartboot/servlet/provider/WebsocketProvider.java b/servlet-core/src/main/java/org/smartboot/servlet/provider/WebsocketProvider.java index 3ad3006448def2e48c09fceb6df4843c6db83a9c..01417a9c6c4ece7df87c98318ed8a6685432d055 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/provider/WebsocketProvider.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/provider/WebsocketProvider.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2021, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: WebsocketProvider.java - * Date: 2021-03-28 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.servlet.provider; diff --git a/servlet-core/src/main/java/org/smartboot/servlet/sandbox/MockDispatcherProvider.java b/servlet-core/src/main/java/org/smartboot/servlet/sandbox/MockDispatcherProvider.java index a60823b728fb93f8b8d94dd0c89298bc88607a38..d79b0e678724c42de1ac0c853737ffa188240c39 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/sandbox/MockDispatcherProvider.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/sandbox/MockDispatcherProvider.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2020, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: MockDispatcherProvider.java - * Date: 2020-11-28 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.servlet.sandbox; diff --git a/servlet-core/src/main/java/org/smartboot/servlet/sandbox/MockMemoryPoolProvider.java b/servlet-core/src/main/java/org/smartboot/servlet/sandbox/MockMemoryPoolProvider.java index 18f60970646c2cb3a1a7b8bf30429d9e49fa3667..3b8cc7d77f010a0588b7a503c0540e66f585b53a 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/sandbox/MockMemoryPoolProvider.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/sandbox/MockMemoryPoolProvider.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2020, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: MockMemoryPoolProvider.java - * Date: 2020-12-08 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.servlet.sandbox; diff --git a/servlet-core/src/main/java/org/smartboot/servlet/sandbox/MockSessionProvider.java b/servlet-core/src/main/java/org/smartboot/servlet/sandbox/MockSessionProvider.java index 3830f1b8009b67045980f34dff75e680f11db2bf..295fa4b5ce934a8970f9d1616f018fd5ce989a50 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/sandbox/MockSessionProvider.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/sandbox/MockSessionProvider.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2020, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: MockSessionProvider.java - * Date: 2020-11-28 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.servlet.sandbox; diff --git a/servlet-core/src/main/java/org/smartboot/servlet/sandbox/MockWebsocketProvider.java b/servlet-core/src/main/java/org/smartboot/servlet/sandbox/MockWebsocketProvider.java index a518ae91556f0239847c07e85d1a89c922cd61fd..af801f0a670a790f3b74adf472e4ceb0f025298a 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/sandbox/MockWebsocketProvider.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/sandbox/MockWebsocketProvider.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2021, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: MockWeboscketProvider.java - * Date: 2021-03-30 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.servlet.sandbox; diff --git a/servlet-core/src/main/java/org/smartboot/servlet/sandbox/SandBox.java b/servlet-core/src/main/java/org/smartboot/servlet/sandbox/SandBox.java index da79a0a3625515a6612bf121f5371bc6be328bd5..108d7e2556f48de88bc026eee46ce45b30a767e1 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/sandbox/SandBox.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/sandbox/SandBox.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2020, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: SandBox.java - * Date: 2020-11-28 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.servlet.sandbox; diff --git a/servlet-core/src/main/java/org/smartboot/servlet/util/CollectionUtils.java b/servlet-core/src/main/java/org/smartboot/servlet/util/CollectionUtils.java index 7635cceeb3d8547c6fae765394f6f4435698acb4..5f5de8f5a02ebe0f8d53785b014f7ccdc4373d07 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/util/CollectionUtils.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/util/CollectionUtils.java @@ -1,10 +1,12 @@ -/******************************************************************************* - * Copyright (c) 2017-2020, org.smartboot. All rights reserved. - * project name: smart-http - * file name: CollectionUtils.java - * Date: 2020-12-12 - * Author: sandao (zhengjunweimail@163.com) - ******************************************************************************/ +/* + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] + * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. + */ package org.smartboot.servlet.util; diff --git a/servlet-core/src/main/java/org/smartboot/servlet/util/DateUtil.java b/servlet-core/src/main/java/org/smartboot/servlet/util/DateUtil.java index f5554b0ad2bf83e395373c8c139f0ee937d4e7df..8254824f4ddfaf41d74f789837cec03ca6ee0929 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/util/DateUtil.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/util/DateUtil.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2020, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: DateUtil.java - * Date: 2020-11-28 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.servlet.util; diff --git a/servlet-core/src/main/java/org/smartboot/servlet/util/LRUCache.java b/servlet-core/src/main/java/org/smartboot/servlet/util/LRUCache.java index 853df9bb0523e356f4d4197c149d88ed14b3fa17..a36f1a856584a9316b90eb0b7593a7438bc9cb31 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/util/LRUCache.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/util/LRUCache.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2020, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: LRUCache.java - * Date: 2020-11-28 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.servlet.util; diff --git a/servlet-core/src/main/java/org/smartboot/servlet/util/PathMatcherUtil.java b/servlet-core/src/main/java/org/smartboot/servlet/util/PathMatcherUtil.java index 7edea3692b74558fd4460df18f9be1d334c040db..93410ef35378a802b1be47370f7cd2910e7a6743 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/util/PathMatcherUtil.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/util/PathMatcherUtil.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2020, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: ServletPathMatcher.java - * Date: 2020-11-28 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.servlet.util; diff --git a/servlet-core/src/main/java/org/smartboot/servlet/util/WarUtil.java b/servlet-core/src/main/java/org/smartboot/servlet/util/WarUtil.java index e7f8fb478e3f6302dba6b8536ed67a0196228f4e..de1455f183053a97681944ab68fe1dfad4da0c64 100644 --- a/servlet-core/src/main/java/org/smartboot/servlet/util/WarUtil.java +++ b/servlet-core/src/main/java/org/smartboot/servlet/util/WarUtil.java @@ -1,3 +1,13 @@ +/* + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] + * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. + */ + package org.smartboot.servlet.util; import java.io.File; diff --git a/servlet-core/src/main/resources/META-INF/services/org.smartboot.servlet.plugins.Plugin b/servlet-core/src/main/resources/META-INF/services/org.smartboot.servlet.plugins.Plugin index b22bc5b5efebcd0760618cf0fbf21564e112b0bd..717db5142d3ec1a6106b94d08b1ec276bf38e850 100644 --- a/servlet-core/src/main/resources/META-INF/services/org.smartboot.servlet.plugins.Plugin +++ b/servlet-core/src/main/resources/META-INF/services/org.smartboot.servlet.plugins.Plugin @@ -1,3 +1,13 @@ +# +# Copyright (C) [2022] smartboot [zhengjunweimail@163.com] +# +# 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 +# +# Enterprise users are required to use this project reasonably +# and legally in accordance with the AGPL-3.0 open source agreement +# without special permission from the smartboot organization. +# + org.smartboot.servlet.plugins.session.SessionPlugin org.smartboot.servlet.plugins.dispatcher.DispatcherPlugin org.smartboot.servlet.plugins.websocket.WebsocketPlugin \ No newline at end of file diff --git a/smart-servlet-maven-plugin/pom.xml b/smart-servlet-maven-plugin/pom.xml index 7dfa6f553a21a36ccf312b7e3a11f3e47168826b..7f8b8f3fb88edc5489166b50e9940660b626ef90 100644 --- a/smart-servlet-maven-plugin/pom.xml +++ b/smart-servlet-maven-plugin/pom.xml @@ -1,4 +1,14 @@ + + diff --git a/smart-servlet-maven-plugin/src/main/java/org/smartboot/maven/plugin/servlet/RunMojo.java b/smart-servlet-maven-plugin/src/main/java/org/smartboot/maven/plugin/servlet/RunMojo.java index 97fc8cc764e52f23bd2d9829f4fc05b5a0eda7f9..5666c8b7c83b10ca1cd56ca8d4646f7b41674a90 100644 --- a/smart-servlet-maven-plugin/src/main/java/org/smartboot/maven/plugin/servlet/RunMojo.java +++ b/smart-servlet-maven-plugin/src/main/java/org/smartboot/maven/plugin/servlet/RunMojo.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2020, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: RunMojo.java - * Date: 2020-11-28 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.maven.plugin.servlet; diff --git a/smart-servlet-maven-plugin/src/main/java/org/smartboot/maven/plugin/servlet/Starter.java b/smart-servlet-maven-plugin/src/main/java/org/smartboot/maven/plugin/servlet/Starter.java index b779ac40508a4ec0e1eda518fc6a9033fd3666de..299115c5e494905bde280d48de5632017ec39159 100644 --- a/smart-servlet-maven-plugin/src/main/java/org/smartboot/maven/plugin/servlet/Starter.java +++ b/smart-servlet-maven-plugin/src/main/java/org/smartboot/maven/plugin/servlet/Starter.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2020, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: Starter.java - * Date: 2020-11-28 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.maven.plugin.servlet; diff --git a/spring-boot-starter/pom.xml b/spring-boot-starter/pom.xml index 88fc921b0bf69f204058528b592b1fe93f6ce64c..42006042383a82f89720a9ac724f71dcd2d53559 100644 --- a/spring-boot-starter/pom.xml +++ b/spring-boot-starter/pom.xml @@ -1,4 +1,14 @@ + + diff --git a/spring-boot-starter/src/main/java/org/smartboot/springboot/starter/ConfigurableSmartWebServerFactory.java b/spring-boot-starter/src/main/java/org/smartboot/springboot/starter/ConfigurableSmartWebServerFactory.java index 69f9566bd259d1e3ef713381508ad2d6bfcaef91..25f1525a8a72c43ab4b69a3e82ccaced5eea7a97 100644 --- a/spring-boot-starter/src/main/java/org/smartboot/springboot/starter/ConfigurableSmartWebServerFactory.java +++ b/spring-boot-starter/src/main/java/org/smartboot/springboot/starter/ConfigurableSmartWebServerFactory.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2020, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: ConfigurableSmartWebServerFactory.java - * Date: 2020-11-28 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.springboot.starter; diff --git a/spring-boot-starter/src/main/java/org/smartboot/springboot/starter/SmartContainerInitializer.java b/spring-boot-starter/src/main/java/org/smartboot/springboot/starter/SmartContainerInitializer.java index d9a57bc3702b54992e9dee66413d1e4626a5c8c0..14934cb77f237d2421447caaf5adefe59b0b6b08 100644 --- a/spring-boot-starter/src/main/java/org/smartboot/springboot/starter/SmartContainerInitializer.java +++ b/spring-boot-starter/src/main/java/org/smartboot/springboot/starter/SmartContainerInitializer.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2020, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: SmartContainerInitializer.java - * Date: 2020-11-28 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.springboot.starter; diff --git a/spring-boot-starter/src/main/java/org/smartboot/springboot/starter/SmartServletServer.java b/spring-boot-starter/src/main/java/org/smartboot/springboot/starter/SmartServletServer.java index 90820e2085e4de92564a15a78ffca04dfb90818e..00e8c6bf25e2897cd99a2df393d63fd6a519f3a8 100644 --- a/spring-boot-starter/src/main/java/org/smartboot/springboot/starter/SmartServletServer.java +++ b/spring-boot-starter/src/main/java/org/smartboot/springboot/starter/SmartServletServer.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2017-2020, org.smartboot. All rights reserved. - * project name: smart-servlet - * file name: SmartServletServer.java - * Date: 2020-11-28 - * Author: sandao (zhengjunweimail@163.com) + * Copyright (C) [2022] smartboot [zhengjunweimail@163.com] * + * 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。 + * + * Enterprise users are required to use this project reasonably + * and legally in accordance with the AGPL-3.0 open source agreement + * without special permission from the smartboot organization. */ package org.smartboot.springboot.starter;