public abstract class MsgController
extends com.jfinal.core.Controller
| 构造器和说明 |
|---|
MsgController() |
| 限定符和类型 | 方法和说明 |
|---|---|
abstract ApiConfig |
getApiConfig() |
InMsg |
getInMsg() |
String |
getInMsgXml() |
void |
index()
weixin 公众号服务器调用唯一入口,即在开发者中心输入的 URL 必须要指向此 action
|
protected abstract void |
processInCustomEvent(InCustomEvent inCustomEvent) |
protected abstract void |
processInFollowEvent(InFollowEvent inFollowEvent) |
protected abstract void |
processInImageMsg(InImageMsg inImageMsg) |
protected abstract void |
processInLinkMsg(InLinkMsg inLinkMsg) |
protected abstract void |
processInLocationEvent(InLocationEvent inLocationEvent) |
protected abstract void |
processInLocationMsg(InLocationMsg inLocationMsg) |
protected abstract void |
processInMassEvent(InMassEvent inMassEvent) |
protected abstract void |
processInMenuEvent(InMenuEvent inMenuEvent) |
protected abstract void |
processInMerChantOrderEvent(InMerChantOrderEvent inMerChantOrderEvent) |
protected abstract void |
processInPoiCheckNotifyEvent(InPoiCheckNotifyEvent inPoiCheckNotifyEvent) |
protected abstract void |
processInQrCodeEvent(InQrCodeEvent inQrCodeEvent) |
protected abstract void |
processInShakearoundUserShakeEvent(InShakearoundUserShakeEvent inShakearoundUserShakeEvent) |
protected abstract void |
processInShortVideoMsg(InShortVideoMsg inShortVideoMsg) |
protected abstract void |
processInSpeechRecognitionResults(InSpeechRecognitionResults inSpeechRecognitionResults) |
protected abstract void |
processInSubmitMemberCardEvent(InSubmitMemberCardEvent inSubmitMemberCardEvent) |
protected abstract void |
processInTemplateMsgEvent(InTemplateMsgEvent inTemplateMsgEvent) |
protected abstract void |
processInTextMsg(InTextMsg inTextMsg) |
protected abstract void |
processInUpdateMemberCardEvent(InUpdateMemberCardEvent inUpdateMemberCardEvent) |
protected abstract void |
processInUserPayFromCardEvent(InUserPayFromCardEvent inUserPayFromCardEvent) |
protected abstract void |
processInUserViewCardEvent(InUserViewCardEvent inUserViewCardEvent) |
protected abstract void |
processInVerifyFailEvent(InVerifyFailEvent inVerifyFailEvent) |
protected abstract void |
processInVerifySuccessEvent(InVerifySuccessEvent inVerifySuccessEvent) |
protected abstract void |
processInVideoMsg(InVideoMsg inVideoMsg) |
protected abstract void |
processInVoiceMsg(InVoiceMsg inVoiceMsg) |
protected abstract void |
processInWifiEvent(InWifiEvent inWifiEvent) |
protected abstract void |
processIsNotDefinedEvent(InNotDefinedEvent inNotDefinedEvent) |
protected abstract void |
processIsNotDefinedMsg(InNotDefinedMsg inNotDefinedMsg) |
void |
render(OutMsg outMsg)
在接收到微信服务器的 InMsg 消息后后响应 OutMsg 消息
|
void |
renderOutTextMsg(String content) |
checkUrlPara, checkUrlPara, createToken, createToken, createToken, enhance, enhance, enhance, enhance, enhance, enhance, enhance, enhance, enhance, enhance, enhance, enhance, enhance, enhance, enhance, enhance, enhance, enhance, forwardAction, getAttr, getAttrForInt, getAttrForStr, getAttrNames, getBean, getBean, getBean, getBean, getCookie, getCookie, getCookieObject, getCookieObjects, getCookieToInt, getCookieToInt, getCookieToLong, getCookieToLong, getFile, getFile, getFile, getFile, getFile, getFiles, getFiles, getFiles, getFiles, getModel, getModel, getModel, getModel, getPara, getPara, getPara, getPara, getPara, getParaMap, getParaNames, getParaToBoolean, getParaToBoolean, getParaToBoolean, getParaToBoolean, getParaToBoolean, getParaToDate, getParaToDate, getParaToDate, getParaToInt, getParaToInt, getParaToInt, getParaToInt, getParaToInt, getParaToLong, getParaToLong, getParaToLong, getParaToLong, getParaToLong, getParaValues, getParaValuesToInt, getParaValuesToLong, getRender, getRequest, getResponse, getSession, getSession, getSessionAttr, isParaBlank, isParaBlank, isParaExists, isParaExists, keepBean, keepBean, keepModel, keepModel, keepPara, keepPara, keepPara, keepPara, redirect, redirect, redirect301, redirect301, removeAttr, removeCookie, removeCookie, removeCookie, removeSessionAttr, render, render, render, renderCaptcha, renderError, renderError, renderError, renderFile, renderFile, renderFreeMarker, renderHtml, renderJavascript, renderJson, renderJson, renderJson, renderJson, renderJson, renderJsp, renderNull, renderText, renderText, renderText, renderVelocity, renderXml, setAttr, setAttrs, setCookie, setCookie, setCookie, setCookie, setCookie, setCookie, setHttpServletRequest, setHttpServletResponse, setSessionAttr, setUrlPara, validateCaptcha, validateToken, validateTokenpublic abstract ApiConfig getApiConfig()
public void index()
public void render(OutMsg outMsg)
outMsg - 输出对象public void renderOutTextMsg(String content)
public String getInMsgXml()
public InMsg getInMsg()
protected abstract void processInTextMsg(InTextMsg inTextMsg)
protected abstract void processInImageMsg(InImageMsg inImageMsg)
protected abstract void processInVoiceMsg(InVoiceMsg inVoiceMsg)
protected abstract void processInVideoMsg(InVideoMsg inVideoMsg)
protected abstract void processInShortVideoMsg(InShortVideoMsg inShortVideoMsg)
protected abstract void processInLocationMsg(InLocationMsg inLocationMsg)
protected abstract void processInLinkMsg(InLinkMsg inLinkMsg)
protected abstract void processInCustomEvent(InCustomEvent inCustomEvent)
protected abstract void processInFollowEvent(InFollowEvent inFollowEvent)
protected abstract void processInQrCodeEvent(InQrCodeEvent inQrCodeEvent)
protected abstract void processInLocationEvent(InLocationEvent inLocationEvent)
protected abstract void processInMassEvent(InMassEvent inMassEvent)
protected abstract void processInMenuEvent(InMenuEvent inMenuEvent)
protected abstract void processInSpeechRecognitionResults(InSpeechRecognitionResults inSpeechRecognitionResults)
protected abstract void processInTemplateMsgEvent(InTemplateMsgEvent inTemplateMsgEvent)
protected abstract void processInShakearoundUserShakeEvent(InShakearoundUserShakeEvent inShakearoundUserShakeEvent)
protected abstract void processInVerifySuccessEvent(InVerifySuccessEvent inVerifySuccessEvent)
protected abstract void processInVerifyFailEvent(InVerifyFailEvent inVerifyFailEvent)
protected abstract void processInPoiCheckNotifyEvent(InPoiCheckNotifyEvent inPoiCheckNotifyEvent)
protected abstract void processInWifiEvent(InWifiEvent inWifiEvent)
protected abstract void processInUserViewCardEvent(InUserViewCardEvent inUserViewCardEvent)
protected abstract void processInSubmitMemberCardEvent(InSubmitMemberCardEvent inSubmitMemberCardEvent)
protected abstract void processInUpdateMemberCardEvent(InUpdateMemberCardEvent inUpdateMemberCardEvent)
protected abstract void processInUserPayFromCardEvent(InUserPayFromCardEvent inUserPayFromCardEvent)
protected abstract void processInMerChantOrderEvent(InMerChantOrderEvent inMerChantOrderEvent)
protected abstract void processIsNotDefinedEvent(InNotDefinedEvent inNotDefinedEvent)
protected abstract void processIsNotDefinedMsg(InNotDefinedMsg inNotDefinedMsg)
Copyright © 2016. All rights reserved.