类 ActionJSONParameter

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

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

    • ActionJSONParameter

      public ActionJSONParameter()
  • 方法详细资料

    • init

      public void init(String jsonStr) throws Exception
      抛出:
      Exception
    • init

      public void init(org.json.JSONObject obj) throws Exception
      抛出:
      Exception
    • getMethod

      public String getMethod()
      返回:
      the method
    • setMethod

      public void setMethod(String method)
      参数:
      method - the method to set
    • getUrl

      public String getUrl()
      返回:
      the url
    • setUrl

      public void setUrl(String url)
      参数:
      url - the url to set
    • getHeaders

      public Map<String,String> getHeaders()
      返回:
      the headers
    • getData

      public Map<String,String> getData()
      返回:
      the data
    • getBody

      public String getBody()
      返回:
      the body
    • setBody

      public void setBody(String body)
      参数:
      body - the body to set
    • getQueries

      public Map<String,String> getQueries()
      返回:
      the queries
    • getListTags

      public List<ActionJSONParameterListTag> getListTags()
      返回:
      the listTags
    • getCharset

      public String getCharset()
      返回:
      the charset
    • setCharset

      public void setCharset(String charset)
      参数:
      charset - the charset to set
    • isDebug

      public boolean isDebug()
      返回:
      the debug
    • setDebug

      public void setDebug(boolean debug)
      参数:
      debug - the debug to set
    • getUserAgent

      public String getUserAgent()
      返回:
      the userAgent
    • setUserAgent

      public void setUserAgent(String userAgent)
      参数:
      userAgent - the userAgent to set
    • isAttacheQuery

      public boolean isAttacheQuery()
      返回:
      the attacheQuery
    • setAttacheQuery

      public void setAttacheQuery(boolean attacheQuery)
      参数:
      attacheQuery - the attacheQuery to set
    • isAttachePost

      public boolean isAttachePost()
      返回:
      the attachePost
    • setAttachePost

      public void setAttachePost(boolean attachePost)
      参数:
      attachePost - the attachePost to set
    • isAttacheCookies

      public boolean isAttacheCookies()
      返回:
      the attacheCookies
    • setAttacheCookies

      public void setAttacheCookies(boolean attacheCookies)
      参数:
      attacheCookies - the attacheCookies to set
    • getJsonObject

      public org.json.JSONObject getJsonObject()
      获取初始化参数的jsonObject
      返回:
      the jsonObject
    • toString

      public String toString()
      覆盖:
      toString 在类中 Object
    • getExpire

      public String getExpire()
      缓存过期时间 1d, 13h, 300m 1200s
      返回:
      the expire
    • setExpire

      public void setExpire(String expire)
      缓存过期时间1d, 13h, 300m 1200s
      参数:
      expire - the expire to set
    • getConnConfigName

      public String getConnConfigName()
      返回:
      the connConfigName
    • setConnConfigName

      public void setConnConfigName(String connConfigName)
      参数:
      connConfigName - the connConfigName to set
    • isAsLfData

      public boolean isAsLfData()
      作为列表数据
      返回:
      the asLfData
    • setAsLfData

      public void setAsLfData(boolean asLfData)
      作为列表数据
      参数:
      asLfData - the asLfData to set