类 ActionJSON
java.lang.Object
com.gdxsoft.easyweb.script.display.action.ActionJSON
JSON调用
- 作者:
- admin
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明action(ActionJSONParameter param) action(org.json.JSONObject actionJson) long获取最后执行的结果com.gdxsoft.easyweb.utils.UNetgetNet()longgetReqId()请求数据保存的日志id请求数据参数的md5获取 UserAgentbooleanisDebug()设置是否debug输出(system.out)boolean请求数据来自缓存voidsaveData(DTTable jsonTb, ActionJSONParameterListTag param) 将返回数据保存到本地表中void已过时。voidsetActionBase(ActionBase actionBase) voidsetDebug(boolean isDebug_) 设置是否debug输出(system.out)voidsetFromCache(boolean fromCache) 请求数据来自缓存voidsetReqId(long reqId) 请求数据保存的日志idvoidsetReqOptMd5(String reqOptMd5) 请求数据参数的md5voidsetUserAgent(String userAgent) 设置 UserAgent
-
构造器详细资料
-
ActionJSON
public ActionJSON() -
ActionJSON
-
-
方法详细资料
-
action
- 抛出:
Exception
-
action
- 抛出:
Exception
-
checkExistsRequest
-
saveData
将返回数据保存到本地表中- 参数:
jsonTb-saveJSON-- 抛出:
Exception
-
saveData
已过时。将返回数据保存到本地表中- 参数:
tb-saveJSON-- 抛出:
Exception
-
getLastResult
获取最后执行的结果- 返回:
-
getNet
public com.gdxsoft.easyweb.utils.UNet getNet() -
getUserAgent
获取 UserAgent- 返回:
-
setUserAgent
设置 UserAgent- 参数:
userAgent-
-
isDebug
public boolean isDebug()设置是否debug输出(system.out)- 返回:
- the isDebug_
-
setDebug
public void setDebug(boolean isDebug_) 设置是否debug输出(system.out)- 参数:
isDebug_- the isDebug_ to set
-
getActionBase
- 返回:
- the actionBase
-
setActionBase
- 参数:
actionBase- the actionBase to set
-
getReqId
public long getReqId()请求数据保存的日志id- 返回:
- the reqId
-
setReqId
public void setReqId(long reqId) 请求数据保存的日志id- 参数:
reqId- the reqId to set
-
isFromCache
public boolean isFromCache()请求数据来自缓存- 返回:
- the fromCache
-
setFromCache
public void setFromCache(boolean fromCache) 请求数据来自缓存- 参数:
fromCache- the fromCache to set
-
getReqOptMd5
请求数据参数的md5- 返回:
- the reqOptMd5
-
setReqOptMd5
请求数据参数的md5- 参数:
reqOptMd5- the reqOptMd5 to set
-