src/main/java/org/jinstagram/InstagramBase.java
public static void configureConnectionSettings(final Request request, final InstagramConfig config) {
        request.setConnectTimeout(config.getConnectionTimeoutMills(), TimeUnit.MILLISECONDS);
        request.setReadTimeout(config.getReadTimeoutMills(), TimeUnit.MILLISECONDS);

        // #51 Connection Keep Alive
        request.setConnectionKeepAlive(config.isConnectionKeepAlive());
    }
public static void configureConnectionSettings(final Request request, final InstagramConfig config) {
        request.setConnectTimeout(config.getConnectionTimeoutMills(), TimeUnit.MILLISECONDS);
        request.setReadTimeout(config.getReadTimeoutMills(), TimeUnit.MILLISECONDS);

        // #51 Connection Keep Alive
        request.setConnectionKeepAlive(config.isConnectionKeepAlive());
    }
public static void configureConnectionSettings ( final Request request , final InstagramConfig config ) { request . setConnectTimeout ( config . getConnectionTimeoutMills ( ) , TimeUnit . MILLISECONDS ) ; request . setReadTimeout ( config . getReadTimeoutMills ( ) , TimeUnit . MILLISECONDS ) ; // #51 Connection Keep Alive request . setConnectionKeepAlive ( config . isConnectionKeepAlive ( ) ) ; }
Configure the request with the connection settings of config
@param request OAuthRequest object
@param config InstagramConfig object
Configure the request with the connection settings of config