public class TextMenuConfigHandler extends AbstractMenuConfigHandler
MENU_ID_NAME
LOGGER
Constructor and Description |
---|
TextMenuConfigHandler() |
Modifier and Type | Method and Description |
---|---|
protected <T> String |
getContent(T message)
获得消息的文本内容
|
protected <T> boolean |
isMatchType(T message)
判断消息类型是否一致
|
protected <T,OUTPUT> OUTPUT |
wrapperReplyMessage(T message,
String content)
对响应消息进行包装并返回
|
getMenuConfigManager, getWeiXinHandlerMode, getWeiXinSessionManager, isMatch, isMatchByMenuId, isMatchMessage, process, setMenuConfigManager, setWeiXinSessionManager
compareTo, getPriority, setPriority
protected <T> String getContent(T message)
AbstractMenuConfigHandler
getContent
in class AbstractMenuConfigHandler
protected <T,OUTPUT> OUTPUT wrapperReplyMessage(T message, String content)
AbstractMenuConfigHandler
wrapperReplyMessage
in class AbstractMenuConfigHandler
protected <T> boolean isMatchType(T message)
AbstractMenuConfigHandler
isMatchType
in class AbstractMenuConfigHandler
Copyright © 2006–2018 TinyGroup. All rights reserved.