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

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

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

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

import java.net.ProxySelector;

@NotThreadSafe
public interface Network {

    @NonNull ProxySelector getProxySelector();

    @NonNull SSLFactory getSSLFactory();

    @NonNull URLConnectionFactory getURLConnectionFactory();

    @StaticFactoryMethod
    static @NonNull Network getDefault() {
        return DefaultNetwork.INSTANCE;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy