C D H I M S T V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
C
- canHandle(WeixinRequest, WeixinMessage, Set<String>) - Method in class com.foxinmy.weixin4j.example.server.handler.ChatMessageHandler
- canHandle(WeixinRequest, WeixinMessage, Set<String>) - Method in class com.foxinmy.weixin4j.example.server.handler.CustomMessageHandler
- canHandle0(WeixinRequest, TextMessage) - Method in class com.foxinmy.weixin4j.example.server.handler.HelloMessageHandler
- ChatMessageHandler - Class in com.foxinmy.weixin4j.example.server.handler
- ChatMessageHandler() - Constructor for class com.foxinmy.weixin4j.example.server.handler.ChatMessageHandler
- com.foxinmy.weixin4j.example.controller - package com.foxinmy.weixin4j.example.controller
- com.foxinmy.weixin4j.example.server - package com.foxinmy.weixin4j.example.server
- com.foxinmy.weixin4j.example.server.handler - package com.foxinmy.weixin4j.example.server.handler
- contextDestroyed(ServletContextEvent) - Method in class com.foxinmy.weixin4j.example.server.Weixin4jServerStartupListener
- contextInitialized(ServletContextEvent) - Method in class com.foxinmy.weixin4j.example.server.Weixin4jServerStartupListener
- CustomMessageHandler - Class in com.foxinmy.weixin4j.example.server.handler
-
自定义处理消息
- CustomMessageHandler() - Constructor for class com.foxinmy.weixin4j.example.server.handler.CustomMessageHandler
D
- doHandle(WeixinRequest, WeixinMessage) - Method in class com.foxinmy.weixin4j.example.server.handler.ChatMessageHandler
- doHandle(WeixinRequest, WeixinMessage) - Method in class com.foxinmy.weixin4j.example.server.handler.CustomMessageHandler
- doHandle0(TextMessage) - Method in class com.foxinmy.weixin4j.example.server.handler.HelloMessageHandler
- doHandle0(TextMessage) - Method in class com.foxinmy.weixin4j.example.server.handler.TextMessageHandler
- doHandle0(VoiceMessage) - Method in class com.foxinmy.weixin4j.example.server.handler.VoiceMessageHandler
- doHandle0(ScribeEventMessage) - Method in class com.foxinmy.weixin4j.example.server.handler.SubscribeMessageHandler
H
- HelloMessageHandler - Class in com.foxinmy.weixin4j.example.server.handler
-
输入 hello 回复 world
- HelloMessageHandler() - Constructor for class com.foxinmy.weixin4j.example.server.handler.HelloMessageHandler
I
- index() - Method in class com.foxinmy.weixin4j.example.controller.IndexController
- IndexController - Class in com.foxinmy.weixin4j.example.controller
- IndexController() - Constructor for class com.foxinmy.weixin4j.example.controller.IndexController
M
- main(String[]) - Static method in class com.foxinmy.weixin4j.example.server.Weixin4jServerStartup
-
入口函数 可使用assembly插件打成可执行zip包:https://github.com/foxinmy/weixin4j/wiki/ assembly%E6%89%93%E5%8C%85
S
- start(ApplicationContext) - Method in class com.foxinmy.weixin4j.example.server.Weixin4jServerStartupListener
-
启动服务
- stop() - Method in class com.foxinmy.weixin4j.example.server.Weixin4jServerStartupListener
-
关闭服务
- SubscribeMessageHandler - Class in com.foxinmy.weixin4j.example.server.handler
-
处理关注消息
- SubscribeMessageHandler() - Constructor for class com.foxinmy.weixin4j.example.server.handler.SubscribeMessageHandler
T
- TextMessageHandler - Class in com.foxinmy.weixin4j.example.server.handler
-
文本消息处理
- TextMessageHandler() - Constructor for class com.foxinmy.weixin4j.example.server.handler.TextMessageHandler
V
- VoiceMessageHandler - Class in com.foxinmy.weixin4j.example.server.handler
-
只处理语音消息
- VoiceMessageHandler() - Constructor for class com.foxinmy.weixin4j.example.server.handler.VoiceMessageHandler
W
- weight() - Method in class com.foxinmy.weixin4j.example.server.handler.ChatMessageHandler
- weight() - Method in class com.foxinmy.weixin4j.example.server.handler.CustomMessageHandler
- weight() - Method in class com.foxinmy.weixin4j.example.server.handler.HelloMessageHandler
-
因为HelloMessageHandler和TextMessageHandler都会匹配到文本消息 所以这里需要提高下权重(大于TextMessageHandler就行了) > TextMessageHandler
- Weixin4jServerStartup - Class in com.foxinmy.weixin4j.example.server
-
微信消息服务:单独作为一个服务jar包启动,推荐这种方式去处理微信消息,可在本项目的根目录运行 `mvn package`得到一个可执行的zip包。
- Weixin4jServerStartup() - Constructor for class com.foxinmy.weixin4j.example.server.Weixin4jServerStartup
- Weixin4jServerStartupListener - Class in com.foxinmy.weixin4j.example.server
-
微信消息服务:需要另外开启一个线程去启动服务,这里值得注意的时:weixin4j-serve本身是作为一个单独的服务来启动的,可以不依赖Spring容器, 但考虑到目前都是Spring mvc的架构,这里就需要使用一个独立的线程去启动服务,其实本身没有使用spring mvc的API, 以后会考虑支持servlet api去集成不同的web框架。
- Weixin4jServerStartupListener() - Constructor for class com.foxinmy.weixin4j.example.server.Weixin4jServerStartupListener
All Classes All Packages