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