org.eclipse.ecf.provider.filetransfer.httpclient4
Class HttpClientDefaultSSLSocketFactoryModifier

java.lang.Object
  extended by org.eclipse.ecf.provider.filetransfer.httpclient4.HttpClientDefaultSSLSocketFactoryModifier
All Implemented Interfaces:
INonconnectedSocketFactory

public class HttpClientDefaultSSLSocketFactoryModifier
extends java.lang.Object
implements INonconnectedSocketFactory


Field Summary
static java.lang.String DEFAULT_SSL_PROTOCOL
           
 
Constructor Summary
HttpClientDefaultSSLSocketFactoryModifier()
           
 
Method Summary
 java.net.Socket createSocket()
           
 void dispose()
           
 INonconnectedSocketFactory getNonconnnectedSocketFactory()
           
 javax.net.ssl.SSLContext getSSLContext(java.lang.String protocols)
           
 javax.net.ssl.SSLSocketFactory getSSLSocketFactory()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_SSL_PROTOCOL

public static final java.lang.String DEFAULT_SSL_PROTOCOL
See Also:
Constant Field Values
Constructor Detail

HttpClientDefaultSSLSocketFactoryModifier

public HttpClientDefaultSSLSocketFactoryModifier()
Method Detail

getSSLSocketFactory

public javax.net.ssl.SSLSocketFactory getSSLSocketFactory()
                                                   throws java.io.IOException
Throws:
java.io.IOException

getSSLContext

public javax.net.ssl.SSLContext getSSLContext(java.lang.String protocols)

createSocket

public java.net.Socket createSocket()
                             throws java.io.IOException
Specified by:
createSocket in interface INonconnectedSocketFactory
Throws:
java.io.IOException

dispose

public void dispose()

getNonconnnectedSocketFactory

public INonconnectedSocketFactory getNonconnnectedSocketFactory()