weixin4j-[mp|qy] upgrade to 1.5.3
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user