Examples of SmartHttpClient


Examples of com.emc.vipr.ribbon.SmartHttpClient

public class ViPRS3HttpClient extends AmazonHttpClient {
    private static Log log = LogFactory.getLog(ViPRS3HttpClient.class);

    public ViPRS3HttpClient(ViPRS3Config viprConfig) {
        super(viprConfig.getClientConfiguration(), new SmartHttpClient(viprConfig.toSmartClientConfig()), null);

        ClientConfiguration azConfig = viprConfig.getClientConfiguration();
        HttpParams httpClientParams = httpClient.getParams();

        HttpConnectionParams.setConnectionTimeout(httpClientParams, azConfig.getConnectionTimeout());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.