From 8e6f35ae2ab7ff521ccc6fc23a1ed0659bf269ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=89=91=E5=99=A8=E8=BF=91?= Date: Wed, 10 Nov 2021 17:55:14 +0800 Subject: [PATCH] =?UTF-8?q?deployed=202.0.6.RELEASE=EF=BC=8C=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E9=83=A8=E5=88=86=E4=BB=A3=E7=A0=81=E3=80=81=E5=8D=87?= =?UTF-8?q?=E7=BA=A7=E7=9B=B8=E5=85=B3=E4=BE=9D=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 17 +++++++++-------- .../yezhihao/netmc/core/HandlerInterceptor.java | 8 ++++---- 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/pom.xml b/pom.xml index 3d3e8b4..50cdf7d 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 io.github.yezhihao netmc - 2.0.5.RELEASE + 2.0.6.RELEASE jar Netmc @@ -33,10 +33,10 @@ 1.8 @ - UTF-8 - UTF-8 ${java.version} ${java.version} + UTF-8 + UTF-8 true @@ -62,7 +62,7 @@ io.netty netty-handler - 4.1.66.Final + 4.1.70.Final provided @@ -74,7 +74,7 @@ org.springframework spring-context - 5.3.9 + 5.3.12 compile @@ -103,7 +103,7 @@ org.apache.maven.plugins maven-javadoc-plugin - 3.2.0 + 3.3.1 package @@ -116,7 +116,7 @@ org.apache.maven.plugins maven-gpg-plugin - 1.6 + 3.0.1 sign-artifacts @@ -143,6 +143,7 @@ 2.5.3 + org.apache.maven.plugins maven-deploy-plugin 2.8.2 @@ -169,7 +170,7 @@ org.apache.maven.plugins maven-scm-plugin - 1.11.2 + 1.11.3 diff --git a/src/main/java/io/github/yezhihao/netmc/core/HandlerInterceptor.java b/src/main/java/io/github/yezhihao/netmc/core/HandlerInterceptor.java index 82e82ec..b97ad18 100644 --- a/src/main/java/io/github/yezhihao/netmc/core/HandlerInterceptor.java +++ b/src/main/java/io/github/yezhihao/netmc/core/HandlerInterceptor.java @@ -9,18 +9,18 @@ import io.github.yezhihao.netmc.session.Session; * home https://gitee.com/yezhihao/jt808-server */ public interface HandlerInterceptor { - /** 未找到对应的Handle */ + /** @return Response 未找到对应的Handle */ T notSupported(T request, Session session); - /** 调用之前 */ + /** @return boolean 调用之前 */ boolean beforeHandle(T request, Session session); - /** 调用之后,返回值为void的 */ + /** @return Response 调用之后,返回值为void的 */ T successful(T request, Session session); /** 调用之后,有返回值的 */ void afterHandle(T request, T response, Session session); - /** 调用之后抛出异常的 */ + /** @return Response 调用之后抛出异常的 */ T exceptional(T request, Session session, Exception e); } \ No newline at end of file