|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectcom.github.sd4324530.fastweixin.servlet.QYWeixinSupport
public abstract class QYWeixinSupport
==================================================================== 上海聚攒软件开发有限公司 --------------------------------------------------------------------
| 构造方法摘要 | |
|---|---|
QYWeixinSupport()
|
|
| 方法摘要 | |
|---|---|
void |
bindServer(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
绑定服务器的方法 |
protected abstract String |
getAESKey()
加密的密钥,消息解密时需要 |
protected abstract String |
getCropId()
子类提供cropId用于绑定微信企业平台 |
protected abstract String |
getToken()
子类提供token用于绑定微信企业平台 |
protected QYBaseRespMsg |
handleBatchJobEvent(QYBatchJobEvent event)
处理异步任务通知事件,有需要时子类重写 |
protected QYBaseRespMsg |
handleDefaultEvent(QYBaseEvent event)
|
protected QYBaseRespMsg |
handleDefaultMsg(QYBaseReqMsg msg)
|
protected QYBaseRespMsg |
handleEnterAgentEvent(QYEnterAgentEvent event)
处理用户进入应用事件,有需要时子类重写 |
protected QYBaseRespMsg |
handleImageMsg(QYImageReqMsg msg)
处理图片消息,有需要时子类重写 |
protected QYBaseRespMsg |
handleLocationEvent(QYLocationEvent event)
处理地理位置事件,有需要时子类重写 |
protected QYBaseRespMsg |
handleLocationMsg(QYLocationReqMsg msg)
处理地理位置消息,有需要时子类重写 |
protected QYBaseRespMsg |
handleMenuClickEvent(QYMenuEvent event)
处理菜单点击事件,有需要时子类重写 |
protected QYBaseRespMsg |
handleMenuViewEvent(QYMenuEvent event)
处理菜单跳转事件,有需要时子类重写 |
protected QYBaseRespMsg |
handleScanCodeEvent(QYScanCodeEvent event)
处理菜单扫描推事件,有需要时子类重写 |
protected QYBaseRespMsg |
handleSendPicsInfoEvent(QYSendPicInfoEvent event)
处理菜单弹出相册事件,有需要时子类重写 |
protected QYBaseRespMsg |
handleShortVideoMsg(QYVideoReqMsg msg)
处理小视频消息,有需要时子类重写 |
protected QYBaseRespMsg |
handleSubScribe(QYBaseEvent event)
处理添加关注事件,有需要时子类重写 |
protected QYBaseRespMsg |
handleTextMsg(QYTextReqMsg msg)
处理文本消息,有需要时子类重写 |
protected QYBaseRespMsg |
handleUnsubscribe(QYBaseEvent event)
处理取消关注事件,有需要时子类重写 |
protected QYBaseRespMsg |
handleVideoMsg(QYVideoReqMsg msg)
处理视频消息,有需要时子类重写 |
protected QYBaseRespMsg |
handleVoiceMsg(QYVoiceReqMsg msg)
处理语音消息,有需要时子类重写 |
protected List<QYEventHandle> |
initEventHandles()
子类重写,加入自定义的微信事件处理器,细化消息的处理 |
protected List<QYMessageHandle> |
initMessageHandles()
子类重写,加入自定义的微信消息处理器,细化消息的处理 |
String |
processRequest(javax.servlet.http.HttpServletRequest request)
处理微信服务器发来的请求方法 |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public QYWeixinSupport()
| 方法详细信息 |
|---|
protected abstract String getToken()
protected abstract String getCropId()
protected abstract String getAESKey()
protected List<QYMessageHandle> initMessageHandles()
protected List<QYEventHandle> initEventHandles()
public void bindServer(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
request - 请求response - 响应public String processRequest(javax.servlet.http.HttpServletRequest request)
request - http请求对象
protected QYBaseRespMsg handleTextMsg(QYTextReqMsg msg)
msg - 请求消息对象
protected QYBaseRespMsg handleImageMsg(QYImageReqMsg msg)
msg - 请求消息对象
protected QYBaseRespMsg handleVoiceMsg(QYVoiceReqMsg msg)
msg - 请求消息对象
protected QYBaseRespMsg handleVideoMsg(QYVideoReqMsg msg)
msg - 请求消息对象
protected QYBaseRespMsg handleShortVideoMsg(QYVideoReqMsg msg)
msg - 请求消息对象
protected QYBaseRespMsg handleLocationMsg(QYLocationReqMsg msg)
msg - 请求消息对象
protected QYBaseRespMsg handleLocationEvent(QYLocationEvent event)
event - 地理位置事件对象
protected QYBaseRespMsg handleMenuClickEvent(QYMenuEvent event)
event - 菜单点击事件对象
protected QYBaseRespMsg handleMenuViewEvent(QYMenuEvent event)
event - 菜单跳转事件对象
protected QYBaseRespMsg handleScanCodeEvent(QYScanCodeEvent event)
event -
protected QYBaseRespMsg handleSendPicsInfoEvent(QYSendPicInfoEvent event)
event - 菜单弹出相册事件
protected QYBaseRespMsg handleEnterAgentEvent(QYEnterAgentEvent event)
event - 添加应用事件对象
protected QYBaseRespMsg handleBatchJobEvent(QYBatchJobEvent event)
event - 添加通知事件对象
protected QYBaseRespMsg handleSubScribe(QYBaseEvent event)
event - 添加关注事件对象
protected QYBaseRespMsg handleUnsubscribe(QYBaseEvent event)
event - 取消关注事件对象
protected QYBaseRespMsg handleDefaultMsg(QYBaseReqMsg msg)
protected QYBaseRespMsg handleDefaultEvent(QYBaseEvent event)
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||