This commit is contained in:
jinyu 2016-08-10 11:05:11 +08:00
parent 2951d86408
commit 8e0bab27d5
3 changed files with 6 additions and 3 deletions

View File

@ -17,7 +17,7 @@ import com.foxinmy.weixin4j.util.RegexUtil;
* @className JsonMessageConverter * @className JsonMessageConverter
* @author jinyu * @author jinyu
* @date Jul 20, 2016 * @date Jul 20, 2016
* @since JDK 1.8 * @since JDK 1.6
*/ */
public class JsonMessageConverter extends AbstractMessageConverter { public class JsonMessageConverter extends AbstractMessageConverter {

View File

@ -13,6 +13,8 @@ import com.foxinmy.weixin4j.http.MimeType;
* @author jinyu * @author jinyu
* @date Jul 20, 2016 * @date Jul 20, 2016
* @since JDK 1.6 * @since JDK 1.6
* @see JsonMessageConverter
* @see XmlMessageConverter
*/ */
public interface MessageConverter { public interface MessageConverter {
/** /**
@ -43,5 +45,6 @@ public interface MessageConverter {
* @throws IOException * @throws IOException
* @return 消息对象 * @return 消息对象
*/ */
public <T> T convert(Class<? extends T> clazz, HttpResponse response) throws IOException; public <T> T convert(Class<? extends T> clazz, HttpResponse response)
throws IOException;
} }

View File

@ -16,7 +16,7 @@ import com.foxinmy.weixin4j.xml.XmlStream;
* @className XmlMessageConverter * @className XmlMessageConverter
* @author jinyu * @author jinyu
* @date Jul 20, 2016 * @date Jul 20, 2016
* @since JDK 1.8 * @since JDK 1.6
*/ */
public class XmlMessageConverter extends AbstractMessageConverter { public class XmlMessageConverter extends AbstractMessageConverter {