public interface WeiXinConvert extends Comparable<WeiXinConvert>
Modifier and Type | Method and Description |
---|---|
<OUTPUT,INPUT> |
convert(INPUT input,
WeiXinContext context)
转换消息(微信报文会出现不同类型报文字段一致的情况,需要根据上下文判断)
|
Class<?> |
getCalssType()
获得结果类型
|
int |
getPriority()
获得优先级
|
WeiXinConvertMode |
getWeiXinConvertMode()
获得报文的状态
|
<INPUT> boolean |
isMatch(INPUT input,
WeiXinContext context)
判断转换接口能否处理输入信息(微信报文会出现不同类型报文字段一致的情况,需要根据上下文判断)
|
void |
setPriority(int priority)
设置优先级
|
compareTo
int getPriority()
void setPriority(int priority)
priority
- WeiXinConvertMode getWeiXinConvertMode()
Class<?> getCalssType()
<INPUT> boolean isMatch(INPUT input, WeiXinContext context)
INPUT
- input
- context
- <OUTPUT,INPUT> OUTPUT convert(INPUT input, WeiXinContext context)
input
- Copyright © 2006–2018 TinyGroup. All rights reserved.