public class ValiInterceptor
extends org.springframework.web.servlet.handler.HandlerInterceptorAdapter
| 构造器和说明 |
|---|
ValiInterceptor() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
afterCompletion(javax.servlet.http.HttpServletRequest arg0,
javax.servlet.http.HttpServletResponse arg1,
Object arg2,
Exception arg3) |
boolean |
board(StringBuffer content,
String methodName) |
boolean |
direct(Permission classPermission,
Permission methondPermission,
String methodName,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected Integer[] |
do1(String[] ps,
String[] users,
Integer[] integers) |
private String |
parseKey(String key,
Method objMethod,
Object[] objects,
String an) |
void |
postHandle(javax.servlet.http.HttpServletRequest arg0,
javax.servlet.http.HttpServletResponse arg1,
Object arg2,
org.springframework.web.servlet.ModelAndView arg3) |
boolean |
preHandle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Object handler) |
private String |
valiCondition(String condition,
String an) |
private void |
valiRole(AuthorizationInfo authorizationInfo,
Permission classPermission,
Permission methondPermission,
String methodName) |
public void afterCompletion(javax.servlet.http.HttpServletRequest arg0,
javax.servlet.http.HttpServletResponse arg1,
Object arg2,
Exception arg3)
throws Exception
afterCompletion 在接口中 org.springframework.web.servlet.HandlerInterceptorafterCompletion 在类中 org.springframework.web.servlet.handler.HandlerInterceptorAdapterExceptionpublic void postHandle(javax.servlet.http.HttpServletRequest arg0,
javax.servlet.http.HttpServletResponse arg1,
Object arg2,
org.springframework.web.servlet.ModelAndView arg3)
throws Exception
postHandle 在接口中 org.springframework.web.servlet.HandlerInterceptorpostHandle 在类中 org.springframework.web.servlet.handler.HandlerInterceptorAdapterExceptionpublic boolean preHandle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Object handler)
throws Exception
preHandle 在接口中 org.springframework.web.servlet.HandlerInterceptorpreHandle 在类中 org.springframework.web.servlet.handler.HandlerInterceptorAdapterExceptionpublic boolean direct(Permission classPermission, Permission methondPermission, String methodName, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws com.luues.exception.ExceptionTokenInvalid, com.luues.exception.ExceptionTokenGroupInvalid, com.luues.exception.ExceptionJWTInvalid, com.luues.exception.ExceptionRedisInvalid, ParseException
com.luues.exception.ExceptionTokenInvalidcom.luues.exception.ExceptionTokenGroupInvalidcom.luues.exception.ExceptionJWTInvalidcom.luues.exception.ExceptionRedisInvalidParseExceptionpublic boolean board(StringBuffer content, String methodName) throws com.luues.exception.ExceptionTokenInvalid, com.luues.exception.ExceptionTokenGroupInvalid, com.luues.exception.ExceptionJWTInvalid, com.luues.exception.ExceptionRedisInvalid, ParseException
com.luues.exception.ExceptionTokenInvalidcom.luues.exception.ExceptionTokenGroupInvalidcom.luues.exception.ExceptionJWTInvalidcom.luues.exception.ExceptionRedisInvalidParseExceptionprivate void valiRole(AuthorizationInfo authorizationInfo, Permission classPermission, Permission methondPermission, String methodName) throws com.luues.exception.ExceptionTokenInvalid, com.luues.exception.ExceptionTokenGroupInvalid
com.luues.exception.ExceptionTokenInvalidcom.luues.exception.ExceptionTokenGroupInvalidprotected Integer[] do1(String[] ps, String[] users, Integer[] integers) throws com.luues.exception.ExceptionTokenGroupInvalid
com.luues.exception.ExceptionTokenGroupInvalidprivate String parseKey(String key, Method objMethod, Object[] objects, String an) throws com.luues.exception.ExceptionRediscacheKeyInvalid
com.luues.exception.ExceptionRediscacheKeyInvalidCopyright © 2020. All rights reserved.