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