weixin4j-[mp|qy] upgrade to 1.5.3

This commit is contained in:
jinyu
2015-08-13 12:07:40 +08:00
parent 5fe1c8edca
commit 461c0a9c5b
12 changed files with 72 additions and 17 deletions
@@ -0,0 +1,16 @@
package com.foxinmy.weixin4j.http;
import java.io.IOException;
/**
* 响应处理
*
* @className HttpResponseHandler
* @author jy
* @date 2015年5月30日
* @since JDK 1.7
* @see
*/
public interface HttpResponseHandler<T> {
T handleResponse(HttpResponse response) throws IOException;
}
@@ -0,0 +1,24 @@
package com.foxinmy.weixin4j.model;
import java.io.Serializable;
public class NameValue implements Serializable {
private static final long serialVersionUID = 4557003825642138566L;
private final String name;
private final String value;
public NameValue(String name, String value) {
this.name = name;
this.value = value;
}
public String getName() {
return name;
}
public String getValue() {
return value;
}
}