This commit is contained in:
parent
2951d86408
commit
8e0bab27d5
@ -17,7 +17,7 @@ import com.foxinmy.weixin4j.util.RegexUtil;
|
||||
* @className JsonMessageConverter
|
||||
* @author jinyu
|
||||
* @date Jul 20, 2016
|
||||
* @since JDK 1.8
|
||||
* @since JDK 1.6
|
||||
*/
|
||||
public class JsonMessageConverter extends AbstractMessageConverter {
|
||||
|
||||
|
||||
@ -13,6 +13,8 @@ import com.foxinmy.weixin4j.http.MimeType;
|
||||
* @author jinyu
|
||||
* @date Jul 20, 2016
|
||||
* @since JDK 1.6
|
||||
* @see JsonMessageConverter
|
||||
* @see XmlMessageConverter
|
||||
*/
|
||||
public interface MessageConverter {
|
||||
/**
|
||||
@ -43,5 +45,6 @@ public interface MessageConverter {
|
||||
* @throws IOException
|
||||
* @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;
|
||||
}
|
||||
|
||||
@ -16,7 +16,7 @@ import com.foxinmy.weixin4j.xml.XmlStream;
|
||||
* @className XmlMessageConverter
|
||||
* @author jinyu
|
||||
* @date Jul 20, 2016
|
||||
* @since JDK 1.8
|
||||
* @since JDK 1.6
|
||||
*/
|
||||
public class XmlMessageConverter extends AbstractMessageConverter {
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user