weixin4j-server:又添加了一些注释
This commit is contained in:
parent
2229364c87
commit
8dc230e4a4
@ -11,13 +11,14 @@ import com.foxinmy.weixin4j.request.WeixinRequest;
|
|||||||
import com.foxinmy.weixin4j.response.WeixinResponse;
|
import com.foxinmy.weixin4j.response.WeixinResponse;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 微信消息分发器
|
* 微信消息的处理执行
|
||||||
*
|
*
|
||||||
* @className MessageHandlerExecutor
|
* @className MessageHandlerExecutor
|
||||||
* @author jy
|
* @author jy
|
||||||
* @date 2015年5月7日
|
* @date 2015年5月7日
|
||||||
* @since JDK 1.7
|
* @since JDK 1.7
|
||||||
* @see
|
* @see com.foxinmy.weixin4j.handler.WeixinMessageHandler
|
||||||
|
* @see com.foxinmy.weixin4j.interceptor.WeixinMessageInterceptor
|
||||||
*/
|
*/
|
||||||
public class MessageHandlerExecutor {
|
public class MessageHandlerExecutor {
|
||||||
|
|
||||||
|
|||||||
@ -30,7 +30,7 @@ import com.foxinmy.weixin4j.type.MessageType;
|
|||||||
* @author jy
|
* @author jy
|
||||||
* @date 2015年5月17日
|
* @date 2015年5月17日
|
||||||
* @since JDK 1.7
|
* @since JDK 1.7
|
||||||
* @see
|
* @see com.foxinmy.weixin4j.request.WeixinMessage
|
||||||
*/
|
*/
|
||||||
public class WeixinMessageMatcher {
|
public class WeixinMessageMatcher {
|
||||||
|
|
||||||
|
|||||||
@ -5,13 +5,34 @@ import java.io.Serializable;
|
|||||||
import javax.xml.bind.annotation.XmlElement;
|
import javax.xml.bind.annotation.XmlElement;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 基本被动消息
|
* 微信消息基类
|
||||||
*
|
*
|
||||||
* @className WeixinMessage
|
* @className WeixinMessage
|
||||||
* @author jy
|
* @author jy
|
||||||
* @date 2015年5月6日
|
* @date 2015年5月6日
|
||||||
* @since JDK 1.7
|
* @since JDK 1.7
|
||||||
* @see
|
* @see com.foxinmy.weixin4j.message.ImageMessage
|
||||||
|
* @see com.foxinmy.weixin4j.message.LinkMessage
|
||||||
|
* @see com.foxinmy.weixin4j.message.LocationMessage
|
||||||
|
* @see com.foxinmy.weixin4j.message.TextMessage
|
||||||
|
* @see com.foxinmy.weixin4j.message.VideoMessage
|
||||||
|
* @see com.foxinmy.weixin4j.message.VoiceMessage
|
||||||
|
* @see com.foxinmy.weixin4j.message.event.EventMessage
|
||||||
|
* @see com.foxinmy.weixin4j.message.event.LocationEventMessage
|
||||||
|
* @see com.foxinmy.weixin4j.message.event.MenuEventMessage
|
||||||
|
* @see com.foxinmy.weixin4j.message.event.MenuLocationEventMessage
|
||||||
|
* @see com.foxinmy.weixin4j.message.event.MenuPhotoEventMessage
|
||||||
|
* @see com.foxinmy.weixin4j.message.event.MenuScanEventMessage
|
||||||
|
* @see com.foxinmy.weixin4j.mp.event.KfCloseEventMessage
|
||||||
|
* @see com.foxinmy.weixin4j.mp.event.KfCreateEventMessage
|
||||||
|
* @see com.foxinmy.weixin4j.mp.event.KfSwitchEventMessage
|
||||||
|
* @see com.foxinmy.weixin4j.mp.event.MassEventMessage
|
||||||
|
* @see com.foxinmy.weixin4j.mp.event.ScanEventMessage
|
||||||
|
* @see com.foxinmy.weixin4j.mp.event.ScribeEventMessage
|
||||||
|
* @see com.foxinmy.weixin4j.mp.event.TemplatesendjobfinishMessage
|
||||||
|
* @see com.foxinmy.weixin4j.qy.event.BatchjobresultMessage
|
||||||
|
* @see com.foxinmy.weixin4j.qy.event.EnterAgentEventMessage
|
||||||
|
* @see com.foxinmy.weixin4j.qy.event.ScribeEventMessage
|
||||||
*/
|
*/
|
||||||
public class WeixinMessage implements Serializable {
|
public class WeixinMessage implements Serializable {
|
||||||
|
|
||||||
|
|||||||
@ -3,6 +3,15 @@ package com.foxinmy.weixin4j.util;
|
|||||||
import io.netty.buffer.ByteBuf;
|
import io.netty.buffer.ByteBuf;
|
||||||
import io.netty.buffer.Unpooled;
|
import io.netty.buffer.Unpooled;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Base64
|
||||||
|
*
|
||||||
|
* @className Base64
|
||||||
|
* @author jy
|
||||||
|
* @date 2015年5月17日
|
||||||
|
* @since JDK 1.7
|
||||||
|
* @see
|
||||||
|
*/
|
||||||
public final class Base64 {
|
public final class Base64 {
|
||||||
|
|
||||||
private static byte[] byteBuf2Array(ByteBuf byteBuf) {
|
private static byte[] byteBuf2Array(ByteBuf byteBuf) {
|
||||||
|
|||||||
@ -1,5 +1,14 @@
|
|||||||
package com.foxinmy.weixin4j.util;
|
package com.foxinmy.weixin4j.util;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Hex工具类
|
||||||
|
*
|
||||||
|
* @className HexUtil
|
||||||
|
* @author jy
|
||||||
|
* @date 2015年5月17日
|
||||||
|
* @since JDK 1.7
|
||||||
|
* @see
|
||||||
|
*/
|
||||||
public final class HexUtil {
|
public final class HexUtil {
|
||||||
/**
|
/**
|
||||||
* Used to build output as Hex
|
* Used to build output as Hex
|
||||||
|
|||||||
@ -2,6 +2,15 @@ package com.foxinmy.weixin4j.util;
|
|||||||
|
|
||||||
import java.nio.charset.Charset;
|
import java.nio.charset.Charset;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 字符串工具类
|
||||||
|
*
|
||||||
|
* @className StringUtil
|
||||||
|
* @author jy
|
||||||
|
* @date 2015年5月17日
|
||||||
|
* @since JDK 1.7
|
||||||
|
* @see
|
||||||
|
*/
|
||||||
public final class StringUtil {
|
public final class StringUtil {
|
||||||
|
|
||||||
public static final String EMPTY = "";
|
public static final String EMPTY = "";
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user