Package deltix.util.io
Class URLConnectionFactory
- java.lang.Object
-
- deltix.util.io.URLConnectionFactory
-
public class URLConnectionFactory extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description URLConnectionFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.net.URLConnection
create(java.lang.String host, int port, java.lang.String file, boolean secured)
static java.net.URLConnection
create(java.net.URL url)
static java.lang.String
getHttpProtocol(boolean ssl)
static java.net.URLConnection
verify(java.net.URLConnection connection, java.lang.String user, java.lang.String pass)
-
-
-
Method Detail
-
create
public static java.net.URLConnection create(java.net.URL url) throws java.io.IOException
- Throws:
java.io.IOException
-
verify
public static java.net.URLConnection verify(java.net.URLConnection connection, java.lang.String user, java.lang.String pass) throws java.io.IOException
- Throws:
java.io.IOException
-
create
public static java.net.URLConnection create(java.lang.String host, int port, java.lang.String file, boolean secured) throws java.io.IOException
- Throws:
java.io.IOException
-
getHttpProtocol
public static java.lang.String getHttpProtocol(boolean ssl)
-
-