Uses of Interface
com.foxinmy.weixin4j.handler.WeixinMessageHandler
-
-
Uses of WeixinMessageHandler in com.foxinmy.weixin4j.dispatcher
Methods in com.foxinmy.weixin4j.dispatcher that return WeixinMessageHandler Modifier and Type Method Description WeixinMessageHandler
MessageHandlerExecutor. getMessageHandler()
WeixinMessageHandler[]
WeixinMessageDispatcher. getMessageHandlers()
获取所有的handlerMethod parameters in com.foxinmy.weixin4j.dispatcher with type arguments of type WeixinMessageHandler Modifier and Type Method Description void
WeixinMessageDispatcher. setMessageHandlerList(List<WeixinMessageHandler> messageHandlerList)
Constructors in com.foxinmy.weixin4j.dispatcher with parameters of type WeixinMessageHandler Constructor Description MessageHandlerExecutor(io.netty.channel.ChannelHandlerContext context, WeixinMessageHandler messageHandler, WeixinMessageInterceptor[] messageInterceptors)
-
Uses of WeixinMessageHandler in com.foxinmy.weixin4j.example.server.handler
Classes in com.foxinmy.weixin4j.example.server.handler that implement WeixinMessageHandler Modifier and Type Class Description class
ChatMessageHandler
class
CustomMessageHandler
自定义处理消息class
HelloMessageHandler
输入 hello 回复 worldclass
SubscribeMessageHandler
处理关注消息class
TextMessageHandler
文本消息处理class
VoiceMessageHandler
只处理语音消息 -
Uses of WeixinMessageHandler in com.foxinmy.weixin4j.handler
Classes in com.foxinmy.weixin4j.handler that implement WeixinMessageHandler Modifier and Type Class Description class
DebugMessageHandler
调试消息处理器class
MessageHandlerAdapter<M extends WeixinMessage>
消息适配器:对于特定的消息类型进行适配,如text文本、voice语音消息class
MultipleMessageHandlerAdapter
多个消息类型适配 -
Uses of WeixinMessageHandler in com.foxinmy.weixin4j.interceptor
Methods in com.foxinmy.weixin4j.interceptor with parameters of type WeixinMessageHandler Modifier and Type Method Description void
MessageInterceptorAdapter. afterCompletion(io.netty.channel.ChannelHandlerContext context, WeixinRequest request, WeixinResponse response, WeixinMessage message, WeixinMessageHandler handler, Exception exception)
void
WeixinMessageInterceptor. afterCompletion(io.netty.channel.ChannelHandlerContext context, WeixinRequest request, WeixinResponse response, WeixinMessage message, WeixinMessageHandler handler, Exception exception)
全部执行后void
MessageInterceptorAdapter. postHandle(io.netty.channel.ChannelHandlerContext context, WeixinRequest request, WeixinResponse response, WeixinMessage message, WeixinMessageHandler handler)
void
WeixinMessageInterceptor. postHandle(io.netty.channel.ChannelHandlerContext context, WeixinRequest request, WeixinResponse response, WeixinMessage message, WeixinMessageHandler handler)
执行handler后boolean
MessageInterceptorAdapter. preHandle(io.netty.channel.ChannelHandlerContext context, WeixinRequest request, WeixinMessage message, WeixinMessageHandler handler)
boolean
WeixinMessageInterceptor. preHandle(io.netty.channel.ChannelHandlerContext context, WeixinRequest request, WeixinMessage message, WeixinMessageHandler handler)
执行handler前 -
Uses of WeixinMessageHandler in com.foxinmy.weixin4j.startup
Methods in com.foxinmy.weixin4j.startup with parameters of type WeixinMessageHandler Modifier and Type Method Description WeixinServerBootstrap
WeixinServerBootstrap. addHandler(WeixinMessageHandler... messageHandler)
添加一个或者多个消息处理器
-