| 构造器和说明 |
|---|
ResponseUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
exceptionResponse(javax.servlet.http.HttpServletResponse response,
Exception e)
异常响应 默认
|
static void |
exceptionResponse(javax.servlet.http.HttpServletResponse response,
ExceptionCode tokenError)
异常响应
|
static String |
getExceptionMessage(Exception e) |
public static void exceptionResponse(javax.servlet.http.HttpServletResponse response,
Exception e)
throws org.springframework.security.access.AccessDeniedException,
org.springframework.security.core.AuthenticationException,
IOException
org.springframework.security.access.AccessDeniedExceptionorg.springframework.security.core.AuthenticationExceptionIOExceptionpublic static void exceptionResponse(javax.servlet.http.HttpServletResponse response,
ExceptionCode tokenError)
throws org.springframework.security.access.AccessDeniedException,
org.springframework.security.core.AuthenticationException,
IOException
org.springframework.security.access.AccessDeniedExceptionorg.springframework.security.core.AuthenticationExceptionIOExceptionCopyright © 2024 tan. All rights reserved.