| 
						
						
							
								
							
						
						
					 | 
					@ -20,6 +20,7 @@ import org.apache.http.impl.client.CloseableHttpClient; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import org.apache.http.impl.client.HttpClients; | 
					 | 
					 | 
					import org.apache.http.impl.client.HttpClients; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import org.apache.http.message.BasicNameValuePair; | 
					 | 
					 | 
					import org.apache.http.message.BasicNameValuePair; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import org.apache.http.util.EntityUtils; | 
					 | 
					 | 
					import org.apache.http.util.EntityUtils; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					import org.springframework.stereotype.Component; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import org.springframework.util.CollectionUtils; | 
					 | 
					 | 
					import org.springframework.util.CollectionUtils; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import java.io.IOException; | 
					 | 
					 | 
					import java.io.IOException; | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					@ -35,6 +36,7 @@ import java.util.Set; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 * @author: jianjun liu | 
					 | 
					 | 
					 * @author: jianjun liu | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 */ | 
					 | 
					 | 
					 */ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					@Slf4j | 
					 | 
					 | 
					@Slf4j | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					@Component | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					public class HttpClientManager { | 
					 | 
					 | 
					public class HttpClientManager { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
						private static int connectionTimeout = 3000;// 连接超时时间,毫秒
 | 
					 | 
					 | 
						private static int connectionTimeout = 3000;// 连接超时时间,毫秒
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
						private static int soTimeout = 10000;// 读取数据超时时间,毫秒
 | 
					 | 
					 | 
						private static int soTimeout = 10000;// 读取数据超时时间,毫秒
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  |