Package co.cask.cdap.common.http

Examples of co.cask.cdap.common.http.HttpRequestConfig


                     .build()
    );
  }

  private HttpRequestConfig getHttpRequestConfig() {
    return new HttpRequestConfig(0, 0, isVerifySSLCert());
  }
View Full Code Here


    this.uri = URI.create(String.format("http://%s:%d", hostname, port));
    this.sslPort = DEFAULT_SSL_PORT;
    AuthenticationClient authenticationClient = new BasicAuthenticationClient();
    authenticationClient.setConnectionInfo(hostname, port, DEFAULT_SSL);
    this.clientConfig = new ClientConfig(hostname, port,
                                         new HttpRequestConfig(15000, 15000, verifySSLCert),
                                         new HttpRequestConfig(0, 0, verifySSLCert),
                                         authenticationClient);
    this.version = tryGetVersion();
    this.hostnameChangeListeners = Lists.newArrayList();
  }
View Full Code Here

TOP

Related Classes of co.cask.cdap.common.http.HttpRequestConfig

Copyright © 2018 www.massapicom. 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.