<commit_before>package com.lurencun.http;

import com.lurencun.http.assist.ThreadPoolManager;

/**
 * @author : 桥下一粒砂
 * @email  : <EMAIL>
 * @date   : 2012-10-22
 * @desc   : An asynchronous multithread http connection framework. 
 */
public class AsyncHttpConnection {

	public final static String VERSION = "1.0.1";
	
	private AsyncHttpConnection(){}
	private static class SingletonProvider {
		private static AsyncHttpConnection instance = new AsyncHttpConnection();
	}
	public static AsyncHttpConnection getInstance(){
		return SingletonProvider.instance;
	}
	
	private final ThreadPoolManager mThreadPoolMng = new ThreadPoolManager();
	
	/**
	 * Send a 'get' request to url with params, response on callback
	 * @param url
	 * @param params
	 * @param callback
	 * @return request id
	 *
	 */
	public int get(String url,ParamsWrapper params,ResponseCallback callback){
		return get(url, params, null,callback);<commit_msg>change version<commit_after>package com.lurencun.http;

import com.lurencun.http.assist.ThreadPoolManager;

/**
 * @author : 桥下一粒砂
 * @email  : <EMAIL>
 * @date   : 2012-10-22
 * @desc   : An asynchronous multithread http connection framework. 
 */
public class AsyncHttpConnection {

	public final static String VERSION = "1.0.2";
	
	private AsyncHttpConnection(){}
	private static class SingletonProvider {
		private static AsyncHttpConnection instance = new AsyncHttpConnection();
	}
	public static AsyncHttpConnection getInstance(){
		return SingletonProvider.instance;
	}
	
	private final ThreadPoolManager mThreadPoolMng = new ThreadPoolManager();
	
	/**
	 * Send a 'get' request to url with params, response on callback
	 * @param url
	 * @param params
	 * @param callback
	 * @return request id
	 *
	 */
	public int get(String url,ParamsWrapper params,ResponseCallback callback){
		return get(url, params, null,callback);
{'fraction_non_alphanumeric': 0.09585352719439957, 'fraction_numerical': 0.011847065158858373, 'mean_word_length': 4.464705882352941, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6337163', 'n_tokens_mistral': 582, 'n_tokens_neox': 529, 'n_words': 160}