Class ChatMessageHandler

  • All Implemented Interfaces:
    com.foxinmy.weixin4j.handler.WeixinMessageHandler

    public class ChatMessageHandler
    extends Object
    implements com.foxinmy.weixin4j.handler.WeixinMessageHandler
    • Constructor Detail

      • ChatMessageHandler

        public ChatMessageHandler()
    • Method Detail

      • canHandle

        public boolean canHandle​(com.foxinmy.weixin4j.request.WeixinRequest request,
                                 com.foxinmy.weixin4j.request.WeixinMessage message,
                                 Set<String> nodeNames)
        Specified by:
        canHandle in interface com.foxinmy.weixin4j.handler.WeixinMessageHandler
      • doHandle

        public com.foxinmy.weixin4j.response.WeixinResponse doHandle​(com.foxinmy.weixin4j.request.WeixinRequest request,
                                                                     com.foxinmy.weixin4j.request.WeixinMessage message)
        Specified by:
        doHandle in interface com.foxinmy.weixin4j.handler.WeixinMessageHandler
      • weight

        public int weight()
        Specified by:
        weight in interface com.foxinmy.weixin4j.handler.WeixinMessageHandler