Package sonia.scm.net

Class HttpURLConnectionFactory

java.lang.Object
sonia.scm.net.HttpURLConnectionFactory

public final class HttpURLConnectionFactory extends Object
The HttpURLConnectionFactory simplifies the correct configuration of HttpURLConnection. It sets timeout, proxy, ssl and authentication configurations to provide better defaults and respect SCM-Manager settings. Note: This class should only be used if a third party library requires an HttpURLConnection. In all other cases the AdvancedHttpClient should be used.