com.jfinal.wxaapp.jfinal

## 类 WxaMsgController

- java.lang.Object
- - com.jfinal.core.Controller
  - - com.jfinal.wxaapp.jfinal.WxaMsgController

-     public abstract class WxaMsgController
      extends com.jfinal.core.Controller

  小程序消息控制器
  作者:
    L.cm

- - ### 构造器概要

    构造器
    构造器和说明
    `WxaMsgController()`

  - ### 方法概要

    所有方法 实例方法 抽象方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `WxaMsg` | `getWxaMsg()`
    `String` | `getWxaMsgXml()`
    `void` | `index()`
    `protected abstract void` | `processImageMsg(WxaImageMsg imageMsg)` 处理接收到的图片消息
    `protected abstract void` | `processTextMsg(WxaTextMsg textMsg)` 处理接收到的文本消息
    `protected abstract void` | `processUserEnterSessionMsg(WxaUserEnterSessionMsg userEnterSessionMsg)` 处理接收到的进入会话事件

    - ### 从类继承的方法 com.jfinal.core.Controller

      `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, getHeader, 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, renderFile, renderFile, renderFreeMarker, renderHtml, renderJavascript, renderJson, renderJson, renderJson, renderJson, renderJson, renderJsp, renderNull, renderQrCode, renderQrCode, renderTemplate, renderText, renderText, renderText, renderToString, renderVelocity, renderXml, setAttr, setAttrs, setCookie, setCookie, setCookie, setCookie, setCookie, setCookie, setHttpServletRequest, setHttpServletResponse, setSessionAttr, setUrlPara, validateCaptcha, validateToken, validateToken`

    - ### 从类继承的方法 java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 构造器详细资料

    - #### WxaMsgController

          public WxaMsgController()

  - ### 方法详细资料

    - #### index

          public void index()

    - #### getWxaMsgXml

          public String getWxaMsgXml()

    - #### getWxaMsg

          public WxaMsg getWxaMsg()

    - #### processTextMsg

          protected abstract void processTextMsg(WxaTextMsg textMsg)

      处理接收到的文本消息
      参数:
        `textMsg` - 处理接收到的文本消息

    - #### processImageMsg

          protected abstract void processImageMsg(WxaImageMsg imageMsg)

      处理接收到的图片消息
      参数:
        `imageMsg` - 处理接收到的图片消息

    - #### processUserEnterSessionMsg

          protected abstract void processUserEnterSessionMsg(WxaUserEnterSessionMsg userEnterSessionMsg)

      处理接收到的进入会话事件
      参数:
        `userEnterSessionMsg` - 处理接收到的进入会话事件

Copyright © 2017. All rights reserved.