1 package com.foxinmy.weixin4j.http.factory; 2 3 import com.foxinmy.weixin4j.http.HttpClient; 4 import com.foxinmy.weixin4j.http.HttpParams; 5 import com.foxinmy.weixin4j.http.SimpleHttpClient; 6 7 /** 8 * HttpURLConnection的简单实现 9 * 10 * @className SimpleHttpClientFactory 11 * @author jinyu(foxinmy@gmail.com) 12 * @date 2015年8月12日 13 * @since JDK 1.6 14 * @see com.foxinmy.weixin4j.http.SimpleHttpClient 15 */ 16 public class SimpleHttpClientFactory extends HttpClientFactory { 17 18 @Override 19 public HttpClient newInstance(HttpParams params) { 20 return new SimpleHttpClient(params); 21 } 22 }