public class WeiXinManagerDefault extends Object implements WeiXinManager
DEFAULT_BEAN_NAME
Constructor and Description |
---|
WeiXinManagerDefault() |
Modifier and Type | Method and Description |
---|---|
void |
addUrlConfig(UrlConfig urlConfig)
添加一条配置
|
void |
addUrlConfigs(UrlConfigs urlConfigs)
添加一组配置
|
UrlConfig |
getUrl(String key)
返回指定key对应的URL
|
void |
removeUrlConfig(UrlConfig urlConfig)
移除一条配置
|
void |
removeUrlConfigs(UrlConfigs urlConfigs)
移除一组配置
|
String |
renderUrl(String key,
WeiXinContext context)
渲染URL资源
|
public UrlConfig getUrl(String key)
WeiXinManager
getUrl
in interface WeiXinManager
public void addUrlConfig(UrlConfig urlConfig)
WeiXinManager
addUrlConfig
in interface WeiXinManager
public void addUrlConfigs(UrlConfigs urlConfigs)
WeiXinManager
addUrlConfigs
in interface WeiXinManager
public void removeUrlConfig(UrlConfig urlConfig)
WeiXinManager
removeUrlConfig
in interface WeiXinManager
public void removeUrlConfigs(UrlConfigs urlConfigs)
WeiXinManager
removeUrlConfigs
in interface WeiXinManager
public String renderUrl(String key, WeiXinContext context)
WeiXinManager
renderUrl
in interface WeiXinManager
Copyright © 2006–2018 TinyGroup. All rights reserved.