org.ofbiz.base.util
Class URLConnector

java.lang.Object
  extended by org.ofbiz.base.util.URLConnector

public class URLConnector
extends java.lang.Object

URLConnector.java


Field Summary
static java.lang.String module
           
 
Constructor Summary
protected URLConnector()
           
protected URLConnector(java.net.URL url, java.lang.String clientCertAlias, int hostCertLevel, boolean trustAnyCert)
           
 
Method Summary
protected  java.net.URLConnection openConnection(int timeout)
           
static java.net.URLConnection openConnection(java.net.URL url)
           
static java.net.URLConnection openConnection(java.net.URL url, int timeout)
           
static java.net.URLConnection openConnection(java.net.URL url, int timeout, java.lang.String clientCertAlias, int hostCertLevel)
           
static java.net.URLConnection openConnection(java.net.URL url, java.lang.String clientCertAlias)
           
static java.net.URLConnection openUntrustedConnection(java.net.URL url)
           
static java.net.URLConnection openUntrustedConnection(java.net.URL url, int timeout)
           
static java.net.URLConnection openUntrustedConnection(java.net.URL url, int timeout, java.lang.String clientCertAlias, int hostCertLevel)
           
static java.net.URLConnection openUntrustedConnection(java.net.URL url, java.lang.String clientCertAlias)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

module

public static final java.lang.String module
Constructor Detail

URLConnector

protected URLConnector()

URLConnector

protected URLConnector(java.net.URL url,
                       java.lang.String clientCertAlias,
                       int hostCertLevel,
                       boolean trustAnyCert)
Method Detail

openConnection

protected java.net.URLConnection openConnection(int timeout)
                                         throws java.io.IOException
Throws:
java.io.IOException

openConnection

public static java.net.URLConnection openConnection(java.net.URL url)
                                             throws java.io.IOException
Throws:
java.io.IOException

openConnection

public static java.net.URLConnection openConnection(java.net.URL url,
                                                    int timeout)
                                             throws java.io.IOException
Throws:
java.io.IOException

openConnection

public static java.net.URLConnection openConnection(java.net.URL url,
                                                    java.lang.String clientCertAlias)
                                             throws java.io.IOException
Throws:
java.io.IOException

openConnection

public static java.net.URLConnection openConnection(java.net.URL url,
                                                    int timeout,
                                                    java.lang.String clientCertAlias,
                                                    int hostCertLevel)
                                             throws java.io.IOException
Throws:
java.io.IOException

openUntrustedConnection

public static java.net.URLConnection openUntrustedConnection(java.net.URL url)
                                                      throws java.io.IOException
Throws:
java.io.IOException

openUntrustedConnection

public static java.net.URLConnection openUntrustedConnection(java.net.URL url,
                                                             int timeout)
                                                      throws java.io.IOException
Throws:
java.io.IOException

openUntrustedConnection

public static java.net.URLConnection openUntrustedConnection(java.net.URL url,
                                                             java.lang.String clientCertAlias)
                                                      throws java.io.IOException
Throws:
java.io.IOException

openUntrustedConnection

public static java.net.URLConnection openUntrustedConnection(java.net.URL url,
                                                             int timeout,
                                                             java.lang.String clientCertAlias,
                                                             int hostCertLevel)
                                                      throws java.io.IOException
Throws:
java.io.IOException