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