Class TextMessageHandler
- java.lang.Object
-
- com.foxinmy.weixin4j.handler.MessageHandlerAdapter<TextMessage>
-
- com.foxinmy.weixin4j.example.server.handler.TextMessageHandler
-
- All Implemented Interfaces:
WeixinMessageHandler
- Direct Known Subclasses:
HelloMessageHandler
@Component public class TextMessageHandler extends MessageHandlerAdapter<TextMessage>
文本消息处理- Since:
- JDK 1.6
- Author:
- jinyu(foxinmy@gmail.com)
-
-
Constructor Summary
Constructors Constructor Description TextMessageHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WeixinResponse
doHandle0(TextMessage message)
处理请求-
Methods inherited from class com.foxinmy.weixin4j.handler.MessageHandlerAdapter
canHandle, canHandle0, doHandle, weight
-
-
-
-
Method Detail
-
doHandle0
public WeixinResponse doHandle0(TextMessage message)
Description copied from class:MessageHandlerAdapter
处理请求- Specified by:
doHandle0
in classMessageHandlerAdapter<TextMessage>
- Parameters:
message
- 微信消息- Returns:
-
-