sdmxdl.web.spi.SSLFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sdmx-dl-api Show documentation
Show all versions of sdmx-dl-api Show documentation
Easily download official statistics - API
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;
}
}