mirror of
https://gitee.com/dromara/sa-token.git
synced 2025-09-19 18:22:15 +08:00
优化 sa-token-jakarta-servlet 模块注释
This commit is contained in:
@@ -4,14 +4,14 @@ package cn.dev33.satoken.servlet.error;
|
|||||||
* 定义 sa-token-servlet 所有异常细分状态码
|
* 定义 sa-token-servlet 所有异常细分状态码
|
||||||
*
|
*
|
||||||
* @author click33
|
* @author click33
|
||||||
* @since: 2022-10-30
|
* @since 2022-10-30
|
||||||
*/
|
*/
|
||||||
public interface SaServletErrorCode {
|
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;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@@ -14,9 +14,10 @@ import java.io.IOException;
|
|||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Request for Jakarta Servlet
|
* 对 SaRequest 包装类的实现(Jakarta-Servlet 版)
|
||||||
* @author click33
|
|
||||||
*
|
*
|
||||||
|
* @author click33
|
||||||
|
* @since <= 1.34.0
|
||||||
*/
|
*/
|
||||||
public class SaRequestForServlet implements SaRequest {
|
public class SaRequestForServlet implements SaRequest {
|
||||||
|
|
||||||
|
@@ -6,9 +6,10 @@ import cn.dev33.satoken.servlet.error.SaServletErrorCode;
|
|||||||
import jakarta.servlet.http.HttpServletResponse;
|
import jakarta.servlet.http.HttpServletResponse;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Response for Jakarta Servlet
|
* 对 SaResponse 包装类的实现(Jakarta-Servlet 版)
|
||||||
* @author click33
|
|
||||||
*
|
*
|
||||||
|
* @author click33
|
||||||
|
* @since <= 1.34.0
|
||||||
*/
|
*/
|
||||||
public class SaResponseForServlet implements SaResponse {
|
public class SaResponseForServlet implements SaResponse {
|
||||||
|
|
||||||
|
@@ -4,9 +4,10 @@ import cn.dev33.satoken.context.model.SaStorage;
|
|||||||
import jakarta.servlet.http.HttpServletRequest;
|
import jakarta.servlet.http.HttpServletRequest;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Storage for Jakarta Servlet
|
* 对 SaStorage 包装类的实现(Jakarta-Servlet 版)
|
||||||
* @author click33
|
|
||||||
*
|
*
|
||||||
|
* @author click33
|
||||||
|
* @since <= 1.34.0
|
||||||
*/
|
*/
|
||||||
public class SaStorageForServlet implements SaStorage {
|
public class SaStorageForServlet implements SaStorage {
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user