public class WeiXinSenderDefault extends Object implements WeiXinSender
CONNECTOR_URL_KEY, DEFAULT_BEAN_NAME
Constructor and Description |
---|
WeiXinSenderDefault() |
Modifier and Type | Method and Description |
---|---|
AccessToken |
connect(Client client)
取得微信认证
|
JsApiTicket |
getJsApiTicket(GetTicket ticket)
微信的js临时票据
|
List<WeiXinHandler> |
getMatchWeiXinHandlers(WeiXinHandlerMode mode) |
WeiXinHttpConnector |
getWeiXinHttpConnector()
HTTP协议操作者
|
WeiXinManager |
getWeiXinManager() |
void |
send(ToServerMessage message,
WeiXinContext context)
发送微信消息
|
void |
setSendHandlerList(List<WeiXinHandler> sendHandlerList)
批量注册Handler
|
void |
setWeiXinHttpConnector(WeiXinHttpConnector weiXinHttpConnector) |
void |
setWeiXinManager(WeiXinManager manager) |
void |
upload(WeiXinHttpUpload upload,
WeiXinContext context)
上传微信文件
|
public WeiXinManager getWeiXinManager()
getWeiXinManager
in interface WeiXinSender
public void setWeiXinManager(WeiXinManager manager)
setWeiXinManager
in interface WeiXinSender
public WeiXinHttpConnector getWeiXinHttpConnector()
WeiXinSender
getWeiXinHttpConnector
in interface WeiXinSender
public void setWeiXinHttpConnector(WeiXinHttpConnector weiXinHttpConnector)
public void send(ToServerMessage message, WeiXinContext context)
WeiXinSender
send
in interface WeiXinSender
public void upload(WeiXinHttpUpload upload, WeiXinContext context)
WeiXinSender
upload
in interface WeiXinSender
public AccessToken connect(Client client)
WeiXinSender
connect
in interface WeiXinSender
public JsApiTicket getJsApiTicket(GetTicket ticket)
WeiXinSender
getJsApiTicket
in interface WeiXinSender
public List<WeiXinHandler> getMatchWeiXinHandlers(WeiXinHandlerMode mode)
getMatchWeiXinHandlers
in interface WeiXinSender
public void setSendHandlerList(List<WeiXinHandler> sendHandlerList)
WeiXinSender
setSendHandlerList
in interface WeiXinSender
Copyright © 2006–2018 TinyGroup. All rights reserved.