Uses of Class
com.foxinmy.weixin4j.request.WeixinMessage
-
-
Uses of WeixinMessage in com.foxinmy.weixin4j.dispatcher
Methods in com.foxinmy.weixin4j.dispatcher with type parameters of type WeixinMessage Modifier and Type Method Description protected <M extends WeixinMessage>
MWeixinMessageDispatcher. messageRead(String message, Class<M> clazz)
jaxb读取微信消息Methods in com.foxinmy.weixin4j.dispatcher that return types with arguments of type WeixinMessage Modifier and Type Method Description Class<? extends WeixinMessage>
DefaultMessageMatcher. match(WeixinMessageKey messageKey)
Class<? extends WeixinMessage>
WeixinMessageMatcher. match(WeixinMessageKey messageKey)
匹配消息类型Methods in com.foxinmy.weixin4j.dispatcher with parameters of type WeixinMessage Modifier and Type Method Description void
MessageHandlerExecutor. applyPostHandle(WeixinRequest request, WeixinResponse response, WeixinMessage message)
MessageHandler处理玩请求后的动作boolean
MessageHandlerExecutor. applyPreHandle(WeixinRequest request, WeixinMessage message)
执行预拦截动作protected MessageHandlerExecutor
WeixinMessageDispatcher. getHandlerExecutor(io.netty.channel.ChannelHandlerContext context, WeixinRequest request, WeixinMessageKey messageKey, WeixinMessage message, Set<String> nodeNames)
MessageHandlerExecutorprotected void
WeixinMessageDispatcher. noHandlerFound(io.netty.channel.ChannelHandlerContext context, WeixinRequest request, WeixinMessage message)
未匹配到handler时触发void
MessageHandlerExecutor. triggerAfterCompletion(WeixinRequest request, WeixinResponse response, WeixinMessage message, Exception exception)
全部执行完毕后触发Method parameters in com.foxinmy.weixin4j.dispatcher with type arguments of type WeixinMessage Modifier and Type Method Description protected javax.xml.bind.Unmarshaller
WeixinMessageDispatcher. getUnmarshaller(Class<? extends WeixinMessage> clazz)
xml消息转换器void
DefaultMessageMatcher. regist(WeixinMessageKey messageKey, Class<? extends WeixinMessage> messageClass)
void
WeixinMessageMatcher. regist(WeixinMessageKey messageKey, Class<? extends WeixinMessage> messageClass)
注册消息类型「程序没有及时更新而微信又产生了新的消息类型」void
WeixinMessageDispatcher. registMessageClass(WeixinMessageKey messageKey, Class<? extends WeixinMessage> messageClass)
-
Uses of WeixinMessage in com.foxinmy.weixin4j.example.server.handler
Methods in com.foxinmy.weixin4j.example.server.handler with parameters of type WeixinMessage Modifier and Type Method Description boolean
ChatMessageHandler. canHandle(WeixinRequest request, WeixinMessage message, Set<String> nodeNames)
boolean
CustomMessageHandler. canHandle(WeixinRequest request, WeixinMessage message, Set<String> nodeNames)
WeixinResponse
ChatMessageHandler. doHandle(WeixinRequest request, WeixinMessage message)
WeixinResponse
CustomMessageHandler. doHandle(WeixinRequest request, WeixinMessage messager)
-
Uses of WeixinMessage in com.foxinmy.weixin4j.handler
Classes in com.foxinmy.weixin4j.handler with type parameters of type WeixinMessage Modifier and Type Class Description class
MessageHandlerAdapter<M extends WeixinMessage>
消息适配器:对于特定的消息类型进行适配,如text文本、voice语音消息Methods in com.foxinmy.weixin4j.handler with parameters of type WeixinMessage Modifier and Type Method Description boolean
DebugMessageHandler. canHandle(WeixinRequest request, WeixinMessage message, Set<String> nodeNames)
boolean
MessageHandlerAdapter. canHandle(WeixinRequest request, WeixinMessage message, Set<String> nodeNames)
boolean
MultipleMessageHandlerAdapter. canHandle(WeixinRequest request, WeixinMessage message, Set<String> nodeNames)
boolean
WeixinMessageHandler. canHandle(WeixinRequest request, WeixinMessage message, Set<String> nodeNames)
能否处理请求protected boolean
MultipleMessageHandlerAdapter. canHandle0(WeixinRequest request, WeixinMessage message)
能否处理请求WeixinResponse
DebugMessageHandler. doHandle(WeixinRequest request, WeixinMessage message)
WeixinResponse
MessageHandlerAdapter. doHandle(WeixinRequest request, WeixinMessage message)
WeixinResponse
WeixinMessageHandler. doHandle(WeixinRequest request, WeixinMessage message)
处理请求 -
Uses of WeixinMessage in com.foxinmy.weixin4j.interceptor
Methods in com.foxinmy.weixin4j.interceptor with parameters of type WeixinMessage 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 WeixinMessage in com.foxinmy.weixin4j.message
Subclasses of WeixinMessage in com.foxinmy.weixin4j.message Modifier and Type Class Description class
ImageMessage
图片消息class
LinkMessage
链接消息class
LocationMessage
地理位置消息class
TextMessage
文本消息class
VideoMessage
视频消息class
VoiceMessage
语音消息 -
Uses of WeixinMessage in com.foxinmy.weixin4j.message.event
Subclasses of WeixinMessage in com.foxinmy.weixin4j.message.event Modifier and Type Class Description class
EventMessage
事件消息基类class
LocationEventMessage
上报地理位置事件class
MenuEventMessage
自定义菜单事件(view|click)class
MenuLocationEventMessage
弹出地理位置选择器的事件推送class
MenuPhotoEventMessage
弹出拍照或者相册发图的事件推送(pic_sysphoto|pic_photo_or_album|pic_weixin)class
MenuScanEventMessage
扫码推事件(scancode_push|scancode_waitmsg) -
Uses of WeixinMessage in com.foxinmy.weixin4j.mp.event
Subclasses of WeixinMessage in com.foxinmy.weixin4j.mp.event Modifier and Type Class Description class
KfCloseEventMessage
客服关闭会话事件class
KfCreateEventMessage
客服接入会话事件class
KfSwitchEventMessage
客服转接会话事件class
MassEventMessage
群发消息事件推送class
ScanEventMessage
扫描二维码事件class
ScribeEventMessage
关注/取消关注事件 包括直接关注与扫描关注class
TemplatesendjobfinishMessage
模板消息事件推送(公众平台)class
VerifyExpireEventMessage
认证通知(资质认证成功/名称认证成功/年审通知/认证过期失效通知)class
VerifyFailEventMessage
认证失败事件(资质认证失败/名称认证失败) -
Uses of WeixinMessage in com.foxinmy.weixin4j.qy.event
Subclasses of WeixinMessage in com.foxinmy.weixin4j.qy.event Modifier and Type Class Description class
BatchjobresultMessage
异步任务事件完成通知class
EnterAgentEventMessage
用户进入应用的事件推送(企业号)本事件只有在应用的回调模式中打开上报开关时上报class
ScribeEventMessage
关注/取消关注事件 包括直接关注与扫描关注 -
Uses of WeixinMessage in com.foxinmy.weixin4j.startup
Method parameters in com.foxinmy.weixin4j.startup with type arguments of type WeixinMessage Modifier and Type Method Description WeixinServerBootstrap
WeixinServerBootstrap. registMessageClass(WeixinMessageKey messageKey, Class<? extends WeixinMessage> messageClass)
注册消息类型
-