All Downloads are FREE. Search and download functionalities are using the official Maven repository.

sdmxdl.web.spi.SSLFactory Maven / Gradle / Ivy

The newest version!
package sdmxdl.web.spi;

import internal.sdmxdl.web.spi.DefaultSSLFactory;
import lombok.NonNull;
import nbbrd.design.NotThreadSafe;
import nbbrd.design.StaticFactoryMethod;

import javax.net.ssl.HostnameVerifier;
import javax.net.ssl.SSLSocketFactory;

@NotThreadSafe
public interface SSLFactory {

    @NonNull SSLSocketFactory getSSLSocketFactory();

    @NonNull HostnameVerifier getHostnameVerifier();

    @StaticFactoryMethod
    static @NonNull SSLFactory getDefault() {
        return DefaultSSLFactory.INSTANCE;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy