Package fr.paris.lutece.util.httpaccess
Class HttpClientConfiguration
- java.lang.Object
-
- fr.paris.lutece.util.httpaccess.HttpClientConfiguration
-
- Direct Known Subclasses:
PropertiesHttpClientConfiguration
public class HttpClientConfiguration extends Object
The Class HttpClientConfiguration.
-
-
Constructor Summary
Constructors Constructor Description HttpClientConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description IntegergetConnectionPoolMaxConnectionPerHost()Gets the connection pool max connection per host.IntegergetConnectionPoolMaxTotalConnection()Gets the connection pool max total connection.IntegergetConnectionTimeout()Gets the connection timeout.StringgetContentCharset()Gets the content charset.StringgetDomainName()Gets the domain name.StringgetElementCharset()Gets the element charset.StringgetHostName()Gets the host name.StringgetNoProxyFor()Gets the no proxy for.StringgetProxyHost()Gets the proxy host.StringgetProxyPassword()Gets the proxy password.StringgetProxyPort()Gets the proxy port.// TODO: Auto-generated JavadocStringgetProxyUserName()Gets the proxy user name.StringgetRealm()Gets the realm.IntegergetSocketTimeout()Gets the socket timeout.booleanisConnectionPoolEnabled()Deprecated.pooling is always enabledvoidsetConnectionPoolEnabled(boolean _bConnectionPoolEnabled)Deprecated.pooling is always enabledvoidsetConnectionPoolMaxConnectionPerHost(Integer nConnectionPoolMaxConnectionPerHost)Sets the connection pool max connection per host.voidsetConnectionPoolMaxTotalConnection(Integer nConnectionPoolMaxTotalConnection)Sets the connection pool max total connection.voidsetConnectionTimeout(Integer nConnectionTimeout)Sets the connection timeout.voidsetContentCharset(String _strContentCharset)Sets the content charset.voidsetDomainName(String _strDomainName)Sets the domain name.voidsetElementCharset(String _strElementCharset)Sets the element charset.voidsetHostName(String _strHostName)Sets the host name.voidsetNoProxyFor(String _strNoProxyFor)Sets the no proxy for.voidsetProxyHost(String _strProxyHost)Sets the proxy host.voidsetProxyPassword(String _strProxyPassword)Sets the proxy password.voidsetProxyPort(String _strProxyPort)Sets the proxy port.voidsetProxyUserName(String _strProxyUserName)Sets the proxy user name.voidsetRealm(String _strRealm)Sets the realm.voidsetSocketTimeout(Integer nSocketTimeout)Sets the socket timeout.
-
-
-
Method Detail
-
getProxyHost
public String getProxyHost()
Gets the proxy host.- Returns:
- the proxy host
-
setProxyHost
public void setProxyHost(String _strProxyHost)
Sets the proxy host.- Parameters:
_strProxyHost- the new proxy host
-
getProxyPort
public String getProxyPort()
Gets the proxy port.// TODO: Auto-generated Javadoc- Returns:
- the proxy port
-
setProxyPort
public void setProxyPort(String _strProxyPort)
Sets the proxy port.- Parameters:
_strProxyPort- the new proxy port
-
getProxyUserName
public String getProxyUserName()
Gets the proxy user name.- Returns:
- the proxy user name
-
setProxyUserName
public void setProxyUserName(String _strProxyUserName)
Sets the proxy user name.- Parameters:
_strProxyUserName- the new proxy user name
-
getProxyPassword
public String getProxyPassword()
Gets the proxy password.- Returns:
- the proxy password
-
setProxyPassword
public void setProxyPassword(String _strProxyPassword)
Sets the proxy password.- Parameters:
_strProxyPassword- the new proxy password
-
getHostName
public String getHostName()
Gets the host name.- Returns:
- the host name
-
setHostName
public void setHostName(String _strHostName)
Sets the host name.- Parameters:
_strHostName- the new host name
-
getDomainName
public String getDomainName()
Gets the domain name.- Returns:
- the domain name
-
setDomainName
public void setDomainName(String _strDomainName)
Sets the domain name.- Parameters:
_strDomainName- the new domain name
-
getRealm
public String getRealm()
Gets the realm.- Returns:
- the realm
-
setRealm
public void setRealm(String _strRealm)
Sets the realm.- Parameters:
_strRealm- the new realm
-
getNoProxyFor
public String getNoProxyFor()
Gets the no proxy for.- Returns:
- the no proxy for
-
setNoProxyFor
public void setNoProxyFor(String _strNoProxyFor)
Sets the no proxy for.- Parameters:
_strNoProxyFor- the new no proxy for
-
getContentCharset
public String getContentCharset()
Gets the content charset.- Returns:
- the content charset
-
setContentCharset
public void setContentCharset(String _strContentCharset)
Sets the content charset.- Parameters:
_strContentCharset- the new content charset
-
getElementCharset
public String getElementCharset()
Gets the element charset.- Returns:
- the element charset
-
setElementCharset
public void setElementCharset(String _strElementCharset)
Sets the element charset.- Parameters:
_strElementCharset- the new element charset
-
getSocketTimeout
public Integer getSocketTimeout()
Gets the socket timeout.- Returns:
- the socket timeout
-
setSocketTimeout
public void setSocketTimeout(Integer nSocketTimeout)
Sets the socket timeout.- Parameters:
nSocketTimeout- the new socket timeout
-
getConnectionTimeout
public Integer getConnectionTimeout()
Gets the connection timeout.- Returns:
- the connection timeout
-
setConnectionTimeout
public void setConnectionTimeout(Integer nConnectionTimeout)
Sets the connection timeout.- Parameters:
nConnectionTimeout- the new connection timeout
-
isConnectionPoolEnabled
public boolean isConnectionPoolEnabled()
Deprecated.pooling is always enabledChecks if is connection pool enabled.- Returns:
true
-
setConnectionPoolEnabled
public void setConnectionPoolEnabled(boolean _bConnectionPoolEnabled)
Deprecated.pooling is always enabledSets the connection pool enabled.- Parameters:
_bConnectionPoolEnabled- the new connection pool enabled
-
getConnectionPoolMaxTotalConnection
public Integer getConnectionPoolMaxTotalConnection()
Gets the connection pool max total connection.- Returns:
- the connection pool max total connection
-
setConnectionPoolMaxTotalConnection
public void setConnectionPoolMaxTotalConnection(Integer nConnectionPoolMaxTotalConnection)
Sets the connection pool max total connection.- Parameters:
nConnectionPoolMaxTotalConnection- the new connection pool max total connection
-
getConnectionPoolMaxConnectionPerHost
public Integer getConnectionPoolMaxConnectionPerHost()
Gets the connection pool max connection per host.- Returns:
- the connection pool max connection per host
-
setConnectionPoolMaxConnectionPerHost
public void setConnectionPoolMaxConnectionPerHost(Integer nConnectionPoolMaxConnectionPerHost)
Sets the connection pool max connection per host.- Parameters:
nConnectionPoolMaxConnectionPerHost- the new connection pool max connection per host
-
-