Back to project page couchdbsyncer-android.
The source code is released under:
Apache License
If you think the Android project couchdbsyncer-android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package au.com.team2moro.couchdbsyncer; /*from w ww . j a v a 2 s.c o m*/ import javax.net.ssl.HostnameVerifier; import javax.net.ssl.SSLSocketFactory; public class ConnectionSettings { private String username, password; private SSLSocketFactory sslSocketFactory; private HostnameVerifier hostnameVerifier; public ConnectionSettings(String username, String password) { this.username = username; this.password = password; } public ConnectionSettings(String username, String password, SSLSocketFactory sslSocketFactory, HostnameVerifier hostnameVerifier) { this(username, password); this.sslSocketFactory = sslSocketFactory; this.hostnameVerifier = hostnameVerifier; } public String getUsername() { return username; } public String getPassword() { return password; } public SSLSocketFactory getSSLSocketFactory() { return sslSocketFactory; } public HostnameVerifier getHostnameVerifier() { return hostnameVerifier; } }