org.apache.http.conn.scheme.HostNameResolver Java Examples

The following examples show how to use org.apache.http.conn.scheme.HostNameResolver. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: SSLSocketFactory.java    From Popeens-DSub with GNU General Public License v3.0 5 votes vote down vote up
/**
 * @deprecated Use {@link #SSLSocketFactory(String, KeyStore, String, KeyStore, SecureRandom, X509HostnameVerifier)}
 */
@Deprecated
public SSLSocketFactory(
        final String algorithm,
        final KeyStore keystore,
        final String keystorePassword,
        final KeyStore truststore,
        final SecureRandom random,
        final HostNameResolver nameResolver)
            throws NoSuchAlgorithmException, KeyManagementException, KeyStoreException, UnrecoverableKeyException {
    this(createSSLContext(
            algorithm, keystore, keystorePassword, truststore, random, null),
            nameResolver);
}
 
Example #2
Source File: SSLSocketFactory.java    From Popeens-DSub with GNU General Public License v3.0 5 votes vote down vote up
/**
 * @deprecated Use {@link #SSLSocketFactory(SSLContext)}
 */
@Deprecated
public SSLSocketFactory(
        final SSLContext sslContext, final HostNameResolver nameResolver) {
    super();
    this.socketfactory = sslContext.getSocketFactory();
    this.hostnameVerifier = BROWSER_COMPATIBLE_HOSTNAME_VERIFIER;
    this.nameResolver = nameResolver;
}
 
Example #3
Source File: SniSSLSocketFactory.java    From keycloak with Apache License 2.0 4 votes vote down vote up
public SniSSLSocketFactory(String algorithm, KeyStore keystore, String keyPassword, KeyStore truststore, SecureRandom random, HostNameResolver nameResolver) throws NoSuchAlgorithmException, KeyManagementException, KeyStoreException, UnrecoverableKeyException {
    super(algorithm, keystore, keyPassword, truststore, random, nameResolver);
}
 
Example #4
Source File: SniSSLSocketFactory.java    From keycloak with Apache License 2.0 4 votes vote down vote up
public SniSSLSocketFactory(SSLContext sslContext, HostNameResolver nameResolver) {
    super(sslContext, nameResolver);
}
 
Example #5
Source File: SniSSLSocketFactory.java    From keycloak with Apache License 2.0 4 votes vote down vote up
public SniSSLSocketFactory(String algorithm, KeyStore keystore, String keyPassword, KeyStore truststore, SecureRandom random, HostNameResolver nameResolver) throws NoSuchAlgorithmException, KeyManagementException, KeyStoreException, UnrecoverableKeyException {
    super(algorithm, keystore, keyPassword, truststore, random, nameResolver);
}
 
Example #6
Source File: SniSSLSocketFactory.java    From keycloak with Apache License 2.0 4 votes vote down vote up
public SniSSLSocketFactory(SSLContext sslContext, HostNameResolver nameResolver) {
    super(sslContext, nameResolver);
}