Class ChatMessageHandler
- java.lang.Object
-
- com.foxinmy.weixin4j.example.server.handler.ChatMessageHandler
-
- All Implemented Interfaces:
com.foxinmy.weixin4j.handler.WeixinMessageHandler
public class ChatMessageHandler extends Object implements com.foxinmy.weixin4j.handler.WeixinMessageHandler
-
-
Constructor Summary
Constructors Constructor Description ChatMessageHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canHandle(com.foxinmy.weixin4j.request.WeixinRequest request, com.foxinmy.weixin4j.request.WeixinMessage message, Set<String> nodeNames)
com.foxinmy.weixin4j.response.WeixinResponse
doHandle(com.foxinmy.weixin4j.request.WeixinRequest request, com.foxinmy.weixin4j.request.WeixinMessage message)
int
weight()
-
-
-
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 interfacecom.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 interfacecom.foxinmy.weixin4j.handler.WeixinMessageHandler
-
weight
public int weight()
- Specified by:
weight
in interfacecom.foxinmy.weixin4j.handler.WeixinMessageHandler
-
-