public class RedirectAction extends PreHandlerAction
| 构造器和说明 |
|---|
RedirectAction() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
accept(javax.servlet.http.HttpServletRequest request)
拦截器支持的类型
|
void |
dealLoginInvalidStatus(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.Exception ex)
处理非法登录状态
|
void |
dealNoModulePrivilege(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
处理无模块权限状态
|
void |
dealServerInitStatus(javax.servlet.http.HttpServletResponse response)
处理服务器初始化状态
|
public boolean accept(javax.servlet.http.HttpServletRequest request)
throws java.lang.Exception
PreHandlerActionaccept 在类中 PreHandlerActionrequest - 请求java.lang.Exception - 异常public void dealServerInitStatus(javax.servlet.http.HttpServletResponse response)
throws java.lang.Exception
PreHandlerActiondealServerInitStatus 在类中 PreHandlerActionresponse - 响应java.lang.Exception - 异常public void dealLoginInvalidStatus(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.Exception ex)
throws java.lang.Exception
PreHandlerActiondealLoginInvalidStatus 在类中 PreHandlerActionrequest - 请求response - 响应ex - 非法登录异常java.lang.Exception - 异常public void dealNoModulePrivilege(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.lang.Exception
PreHandlerActiondealNoModulePrivilege 在类中 PreHandlerActionrequest - 请求response - 响应java.lang.Exception - 异常