Package org.eclipse.ecf.internal.provider.filetransfer.httpclient

Examples of org.eclipse.ecf.internal.provider.filetransfer.httpclient.ISSLSocketFactoryModifier


      this.targetRelativePath = getTargetRelativePathFromURL(targetURL);
      String host = getHostFromURL(targetURL);
      int port = getPortFromURL(targetURL);

      if (HttpClientRetrieveFileTransfer.urlUsesHttps(targetURL)) {
        ISSLSocketFactoryModifier sslSocketFactoryModifier = Activator.getDefault().getSSLSocketFactoryModifier();
        if (sslSocketFactoryModifier == null) {
          sslSocketFactoryModifier = new HttpClientDefaultSSLSocketFactoryModifier();
        }
        SecureProtocolSocketFactory psf = new ECFHttpClientSecureProtocolSocketFactory(sslSocketFactoryModifier, source, socketListener);
        Protocol sslProtocol = new Protocol(HttpClientRetrieveFileTransfer.HTTPS, (ProtocolSocketFactory) psf, HTTPS_PORT);
View Full Code Here

TOP

Related Classes of org.eclipse.ecf.internal.provider.filetransfer.httpclient.ISSLSocketFactoryModifier

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.