Class HttpClientConfiguration

java.lang.Object
fr.paris.lutece.util.httpaccess.HttpClientConfiguration
Direct Known Subclasses:
PropertiesHttpClientConfiguration

public class HttpClientConfiguration extends Object
The Class HttpClientConfiguration.
  • Constructor Details

    • HttpClientConfiguration

      public HttpClientConfiguration()
  • Method Details

    • 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.
      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 enabled
      Checks if is connection pool enabled.
      Returns:
      true
    • setConnectionPoolEnabled

      public void setConnectionPoolEnabled(boolean _bConnectionPoolEnabled)
      Deprecated.
      pooling is always enabled
      Sets 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