public abstract class ActionNoSessionCMD extends java.lang.Object implements ActionCMD, RequestInterceptor
RequestInterceptor.ActionKey
MARK_STRING
CURRENT_LEVEL, MARK_STRING
DEFAULT_LAYER_INDEX
构造器和说明 |
---|
ActionNoSessionCMD() |
限定符和类型 | 方法和说明 |
---|---|
void |
actionCMD(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
执行
|
void |
actionCMD(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String sessionID)
执行
|
int |
currentAPILevel()
当前接口的API等级,用于判断是否需要升级插件
|
int |
layerIndex()
对于不可变接口,这个值越高的,加载的优先级越高,也就是会覆盖掉其他低优先级的使用同样接口的插件
|
java.lang.String |
mark4Provider()
获取当前provider的标记(可以使用类路径保证唯一)以避免provider的重复加载
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCMD
public int layerIndex()
Layer
layerIndex
在接口中 Layer
public int currentAPILevel()
Level
currentAPILevel
在接口中 Level
public java.lang.String mark4Provider()
Provider
mark4Provider
在接口中 Provider
public void actionCMD(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, java.lang.String sessionID) throws java.lang.Exception
actionCMD
在接口中 RequestCMDReceiver
req
- http请求res
- http应答sessionID
- 会话IDjava.lang.Exception
- 异常public void actionCMD(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws java.lang.Exception
actionCMD
在接口中 RequestCMDReceiver
req
- http请求res
- http应答java.lang.Exception
- 异常