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

internal.sdmxdl.web.spi.DefaultNetwork Maven / Gradle / Ivy

There is a newer version: 3.0.0-beta.13
Show newest version
package internal.sdmxdl.web.spi;

import lombok.NonNull;
import sdmxdl.web.spi.Network;
import sdmxdl.web.spi.SSLFactory;
import sdmxdl.web.spi.URLConnectionFactory;

import java.net.ProxySelector;

public enum DefaultNetwork implements Network {

    INSTANCE;

    @Override
    public @NonNull ProxySelector getProxySelector() {
        return ProxySelector.getDefault();
    }

    @Override
    public @NonNull SSLFactory getSSLFactory() {
        return SSLFactory.getDefault();
    }

    @Override
    public @NonNull URLConnectionFactory getURLConnectionFactory() {
        return URLConnectionFactory.getDefault();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy