public interface WeiXinConnector
Modifier and Type | Field and Description |
---|---|
static String |
ACCESS_TOKEN |
static String |
DEFAULT_BEAN_NAME
默认的bean配置名称
|
Modifier and Type | Method and Description |
---|---|
AccessToken |
getAccessToken()
获取微信验证令牌
|
Client |
getClient()
获取当前的管理号客户端信息
|
JsApiTicket |
getJsApiTicket()
获得微信的JS访问票据
|
WeiXinReceiver |
getWeiXinReceiver()
获得微信消息接收者,负责解析微信服务器推送过来的消息
|
WeiXinSender |
getWeiXinSender()
获得微信消息发送者,负责往微信服务器发送消息
|
WeiXinSessionManager |
getWeiXinSessionManager()
获取微信的会话管理者
|
void |
receive(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
接收微信消息
|
void |
send(ToServerMessage message)
发送微信消息
|
void |
upload(WeiXinHttpUpload upload)
上传微信文件
|
static final String DEFAULT_BEAN_NAME
static final String ACCESS_TOKEN
Client getClient()
WeiXinSender getWeiXinSender()
WeiXinReceiver getWeiXinReceiver()
WeiXinSessionManager getWeiXinSessionManager()
AccessToken getAccessToken()
JsApiTicket getJsApiTicket()
void send(ToServerMessage message)
message
- void upload(WeiXinHttpUpload upload)
upload
- void receive(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
request
- response
- Copyright © 2006–2018 TinyGroup. All rights reserved.