update md
This commit is contained in:
parent
e454969421
commit
eb0baf7c84
@ -1,5 +1,7 @@
|
|||||||
WeixinMessageDecoder:对微信消息进行解码
|
WeixinMessageDecoder:对微信消息解码
|
||||||
|
|
||||||
WeixinRequestHandler:微信请求处理类
|
WeixinRequestHandler:微信请求处理类
|
||||||
|
|
||||||
WeixinResponseEncoder:对微信回复进行编码
|
WeixinResponseEncoder:对微信回复编码
|
||||||
|
|
||||||
|
SingleResponseEncoder:对微信单一回复编码
|
||||||
@ -28,9 +28,6 @@ public class WeixinServerInitializer extends ChannelInitializer<SocketChannel> {
|
|||||||
|
|
||||||
public WeixinServerInitializer(Map<String, AesToken> aesTokenMap,
|
public WeixinServerInitializer(Map<String, AesToken> aesTokenMap,
|
||||||
WeixinMessageDispatcher messageDispatcher) throws WeixinException {
|
WeixinMessageDispatcher messageDispatcher) throws WeixinException {
|
||||||
if (aesTokenMap.isEmpty()) {
|
|
||||||
throw new WeixinException("AesToken not be null.");
|
|
||||||
}
|
|
||||||
this.aesTokenMap = aesTokenMap;
|
this.aesTokenMap = aesTokenMap;
|
||||||
this.messageDispatcher = messageDispatcher;
|
this.messageDispatcher = messageDispatcher;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user