类 ActionJSON

java.lang.Object
com.gdxsoft.easyweb.script.display.action.ActionJSON

public class ActionJSON extends Object
JSON调用
作者:
admin
  • 构造器详细资料

    • ActionJSON

      public ActionJSON()
    • ActionJSON

      public ActionJSON(String userAgent)
  • 方法详细资料

    • action

      public ArrayList<DTTable> action(ActionJSONParameter param) throws Exception
      抛出:
      Exception
    • action

      public ArrayList<DTTable> action(org.json.JSONObject actionJson) throws Exception
      抛出:
      Exception
    • checkExistsRequest

      public long checkExistsRequest(ActionJSONParameter param)
    • saveData

      public void saveData(DTTable jsonTb, ActionJSONParameterListTag param) throws Exception
      将返回数据保存到本地表中
      参数:
      jsonTb -
      saveJSON -
      抛出:
      Exception
    • saveData

      @Deprecated public void saveData(DTTable tb, org.json.JSONObject saveJSON) throws Exception
      已过时。
      将返回数据保存到本地表中
      参数:
      tb -
      saveJSON -
      抛出:
      Exception
    • getLastResult

      public String getLastResult()
      获取最后执行的结果
      返回:
    • getNet

      public com.gdxsoft.easyweb.utils.UNet getNet()
    • getUserAgent

      public String getUserAgent()
      获取 UserAgent
      返回:
    • setUserAgent

      public void setUserAgent(String userAgent)
      设置 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

      public ActionBase getActionBase()
      返回:
      the actionBase
    • setActionBase

      public void setActionBase(ActionBase actionBase)
      参数:
      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

      public String getReqOptMd5()
      请求数据参数的md5
      返回:
      the reqOptMd5
    • setReqOptMd5

      public void setReqOptMd5(String reqOptMd5)
      请求数据参数的md5
      参数:
      reqOptMd5 - the reqOptMd5 to set