public class NonRedirectAction extends PreHandlerAction
构造器和说明 |
---|
NonRedirectAction() |
限定符和类型 | 方法和说明 |
---|---|
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
PreHandlerAction
accept
在类中 PreHandlerAction
request
- 请求java.lang.Exception
- 异常public void dealServerInitStatus(javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
PreHandlerAction
dealServerInitStatus
在类中 PreHandlerAction
response
- 响应java.lang.Exception
- 异常public void dealLoginInvalidStatus(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.Exception ex) throws java.lang.Exception
PreHandlerAction
dealLoginInvalidStatus
在类中 PreHandlerAction
request
- 请求response
- 响应ex
- 非法登录异常java.lang.Exception
- 异常public void dealNoModulePrivilege(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
PreHandlerAction
dealNoModulePrivilege
在类中 PreHandlerAction
request
- 请求response
- 响应java.lang.Exception
- 异常