cn.gtmap.estateplat.core.support.http
类 HttpClientFactoryBean

java.lang.Object
  继承者 cn.gtmap.estateplat.core.support.http.HttpClientFactoryBean
所有已实现的接口:
org.springframework.beans.factory.FactoryBean<org.apache.http.client.HttpClient>, org.springframework.beans.factory.InitializingBean

public class HttpClientFactoryBean
extends Object
implements org.springframework.beans.factory.FactoryBean<org.apache.http.client.HttpClient>, org.springframework.beans.factory.InitializingBean

.

版本:
V1.0, 13-5-8
作者:
yangxin

构造方法摘要
HttpClientFactoryBean()
           
 
方法摘要
 void afterPropertiesSet()
           
 org.apache.http.client.HttpClient getObject()
           
 Class<?> getObjectType()
           
 boolean isSingleton()
           
 void setConnectionTimeout(int connectionTimeout)
           
 void setMaxConnectionsPerRoute(int maxConnectionsPerRoute)
           
 void setMaxTotalConnections(int maxTotalConnections)
           
 void setSoTimeout(int soTimeout)
           
 void setTimeout(int timeout)
           
 void setTimeToLive(int timeToLive)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

HttpClientFactoryBean

public HttpClientFactoryBean()
方法详细信息

setMaxTotalConnections

public void setMaxTotalConnections(int maxTotalConnections)

setMaxConnectionsPerRoute

public void setMaxConnectionsPerRoute(int maxConnectionsPerRoute)

setSoTimeout

public void setSoTimeout(int soTimeout)

setConnectionTimeout

public void setConnectionTimeout(int connectionTimeout)

setTimeToLive

public void setTimeToLive(int timeToLive)

setTimeout

public void setTimeout(int timeout)

getObject

public org.apache.http.client.HttpClient getObject()
                                            throws Exception
指定者:
接口 org.springframework.beans.factory.FactoryBean<org.apache.http.client.HttpClient> 中的 getObject
抛出:
Exception

getObjectType

public Class<?> getObjectType()
指定者:
接口 org.springframework.beans.factory.FactoryBean<org.apache.http.client.HttpClient> 中的 getObjectType

isSingleton

public boolean isSingleton()
指定者:
接口 org.springframework.beans.factory.FactoryBean<org.apache.http.client.HttpClient> 中的 isSingleton

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
指定者:
接口 org.springframework.beans.factory.InitializingBean 中的 afterPropertiesSet
抛出:
Exception


Copyright © 2015–2016 cn.gtmap. All rights reserved.