类 ActionJSONParameter
java.lang.Object
com.gdxsoft.easyweb.script.display.action.ActionJSONParameter
JSON 调用参数
- 作者:
- admin
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明getBody()getData()缓存过期时间 1d, 13h, 300m 1200sorg.json.JSONObject获取初始化参数的jsonObjectgetUrl()voidvoidinit(org.json.JSONObject obj) boolean作为列表数据booleanbooleanbooleanbooleanisDebug()voidsetAsLfData(boolean asLfData) 作为列表数据voidsetAttacheCookies(boolean attacheCookies) voidsetAttachePost(boolean attachePost) voidsetAttacheQuery(boolean attacheQuery) voidvoidsetCharset(String charset) voidsetConnConfigName(String connConfigName) voidsetDebug(boolean debug) void缓存过期时间1d, 13h, 300m 1200svoidvoidvoidsetUserAgent(String userAgent) toString()
-
构造器详细资料
-
ActionJSONParameter
public ActionJSONParameter()
-
-
方法详细资料
-
init
- 抛出:
Exception
-
init
- 抛出:
Exception
-
getMethod
- 返回:
- the method
-
setMethod
- 参数:
method- the method to set
-
getUrl
- 返回:
- the url
-
setUrl
- 参数:
url- the url to set
-
getHeaders
- 返回:
- the headers
-
getData
- 返回:
- the data
-
getBody
- 返回:
- the body
-
setBody
- 参数:
body- the body to set
-
getQueries
- 返回:
- the queries
-
getListTags
- 返回:
- the listTags
-
getCharset
- 返回:
- the charset
-
setCharset
- 参数:
charset- the charset to set
-
isDebug
public boolean isDebug()- 返回:
- the debug
-
setDebug
public void setDebug(boolean debug) - 参数:
debug- the debug to set
-
getUserAgent
- 返回:
- the userAgent
-
setUserAgent
- 参数:
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
-
getExpire
缓存过期时间 1d, 13h, 300m 1200s- 返回:
- the expire
-
setExpire
缓存过期时间1d, 13h, 300m 1200s- 参数:
expire- the expire to set
-
getConnConfigName
- 返回:
- the connConfigName
-
setConnConfigName
- 参数:
connConfigName- the connConfigName to set
-
isAsLfData
public boolean isAsLfData()作为列表数据- 返回:
- the asLfData
-
setAsLfData
public void setAsLfData(boolean asLfData) 作为列表数据- 参数:
asLfData- the asLfData to set
-