优化 sa-token-jakarta-servlet 模块注释

This commit is contained in:
click33
2023-05-11 22:07:05 +08:00
parent e268a7bc81
commit d36e0f1a08
4 changed files with 12 additions and 9 deletions

View File

@@ -4,14 +4,14 @@ package cn.dev33.satoken.servlet.error;
* 定义 sa-token-servlet 所有异常细分状态码
*
* @author click33
* @since: 2022-10-30
* @since 2022-10-30
*/
public interface SaServletErrorCode {
/** 转发失败 */
public static final int CODE_20001 = 20001;
int CODE_20001 = 20001;
/** 重定向失败 */
public static final int CODE_20002 = 20002;
int CODE_20002 = 20002;
}

View File

@@ -14,9 +14,10 @@ import java.io.IOException;
import java.util.*;
/**
* Request for Jakarta Servlet
* @author click33
* 对 SaRequest 包装类的实现(Jakarta-Servlet 版)
*
* @author click33
* @since <= 1.34.0
*/
public class SaRequestForServlet implements SaRequest {

View File

@@ -6,9 +6,10 @@ import cn.dev33.satoken.servlet.error.SaServletErrorCode;
import jakarta.servlet.http.HttpServletResponse;
/**
* Response for Jakarta Servlet
* @author click33
* 对 SaResponse 包装类的实现(Jakarta-Servlet 版)
*
* @author click33
* @since <= 1.34.0
*/
public class SaResponseForServlet implements SaResponse {

View File

@@ -4,9 +4,10 @@ import cn.dev33.satoken.context.model.SaStorage;
import jakarta.servlet.http.HttpServletRequest;
/**
* Storage for Jakarta Servlet
* @author click33
* 对 SaStorage 包装类的实现(Jakarta-Servlet 版)
*
* @author click33
* @since <= 1.34.0
*/
public class SaStorageForServlet implements SaStorage {