net.vsame.url2sql.url.impl
类 UrlConfig
java.lang.Object
net.vsame.url2sql.url.impl.UrlConfig
public class UrlConfig
- extends Object
UrlConfig
public UrlConfig()
string2Method
public static Method string2Method(String method)
- 将文本转换为对应Method
- 参数:
method -
- 返回:
getUrl
public String getUrl()
setUrl
public void setUrl(String url)
getMethod
public Method getMethod()
setMethod
public void setMethod(Method method)
setMethod
public void setMethod(String method)
getJs
public String getJs()
setJs
public void setJs(String js)
getVars
public Map<String,String> getVars()
getVar
public String getVar(String key)
setVars
public void setVars(Map<String,String> vars)
getV
public String getV()
setV
public void setV(String v)
getCacheScript
public String getCacheScript()
setCacheScript
public void setCacheScript(String cacheScript)
getCleanCache
public String getCleanCache()
setCleanCache
public void setCleanCache(String cleanCache)
getStatus
public String getStatus()
setStatus
public void setStatus(String status)
getDesc
public String getDesc()
setDesc
public void setDesc(String desc)
main
public static void main(String[] args)
throws Exception
- 测试 setMethod方法
- 参数:
args -
- 抛出:
Exception
toString
public String toString()
- 覆盖:
- 类
Object 中的 toString
Copyright © 2015. All Rights Reserved.