- All Implemented Interfaces:
org.springframework.web.servlet.HandlerInterceptor
@Component
public class RoleUserInterceptor
extends Object
implements org.springframework.web.servlet.HandlerInterceptor
-
Constructor Summary
Constructors
-
Method Summary
boolean
preHandle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Object handler)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.web.servlet.HandlerInterceptor
afterCompletion, postHandle
-
Constructor Details
-
RoleUserInterceptor
public RoleUserInterceptor()
-
Method Details
-
preHandle
public boolean preHandle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Object handler)
throws Exception
- Specified by:
preHandle
in interface org.springframework.web.servlet.HandlerInterceptor
- Throws:
Exception