public interface WeiXinSender
Modifier and Type | Field and Description |
---|---|
static String |
CONNECTOR_URL_KEY |
static String |
DEFAULT_BEAN_NAME
默认的bean配置名称
|
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 |
setWeiXinManager(WeiXinManager manager) |
void |
upload(WeiXinHttpUpload upload,
WeiXinContext context)
上传微信文件
|
static final String DEFAULT_BEAN_NAME
static final String CONNECTOR_URL_KEY
WeiXinManager getWeiXinManager()
void setWeiXinManager(WeiXinManager manager)
WeiXinHttpConnector getWeiXinHttpConnector()
List<WeiXinHandler> getMatchWeiXinHandlers(WeiXinHandlerMode mode)
void setSendHandlerList(List<WeiXinHandler> sendHandlerList)
sendHandlerList
- void send(ToServerMessage message, WeiXinContext context)
message
- void upload(WeiXinHttpUpload upload, WeiXinContext context)
upload
- AccessToken connect(Client client)
client
- JsApiTicket getJsApiTicket(GetTicket ticket)
ticket
- Copyright © 2006–2018 TinyGroup. All rights reserved.