protected void updateHttpConfig(Builder httpConfig) {
        String username = config.get("username"); //$NON-NLS-1$
        String password = config.get("password"); //$NON-NLS-1$
        String timeout = config.get("timeout"); //$NON-NLS-1$
        if (username != null) {
            httpConfig.defaultCredentials(username, password);
        }
        if (timeout == null) {
            timeout = "10000"; //$NON-NLS-1$
        }
        
        int t = new Integer(timeout);
        httpConfig.connTimeout(t);
        httpConfig.readTimeout(t);
        httpConfig.maxTotalConnection(75);
        httpConfig.defaultMaxTotalConnectionPerRoute(75);
        httpConfig.multiThreaded(true);

        if ("https".equals(getConfig().get("protocol"))) { //$NON-NLS-1$ //$NON-NLS-2$
            updateSslConfig(httpConfig);
        }
    }
protected void updateHttpConfig ( Builder httpConfig ) { String username = config . get ( "username" ) ; String password = config . get ( "password" ) ; String timeout = config . get ( "timeout" ) ; if ( username != null ) { httpConfig . defaultCredentials ( username , password ) ; } if ( timeout == null ) { timeout = "10000" ; } int t = new Integer ( timeout ) ; httpConfig . connTimeout ( t ) ; httpConfig . readTimeout ( t ) ; httpConfig . maxTotalConnection ( 75 ) ; httpConfig . defaultMaxTotalConnectionPerRoute ( 75 ) ; httpConfig . multiThreaded ( true ) ; if ( "https" . equals ( getConfig ( ) . get ( "protocol" ) ) ) { updateSslConfig ( httpConfig ) ; } }
@param httpConfig