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