Package org.apache.ofbiz.base.util
Class URLConnector
- java.lang.Object
-
- org.apache.ofbiz.base.util.URLConnector
-
public class URLConnector extends java.lang.Object
URLConnector.java
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
module
-
Constructor Summary
Constructors Modifier Constructor Description protected
URLConnector()
protected
URLConnector(java.net.URL url, java.lang.String clientCertAlias, int hostCertLevel, boolean trustAnyCert)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)
-
-
-
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
-
-