com.jaxfront.core.util
Class HTTPSHelper
java.lang.Object
com.jaxfront.core.util.HTTPSHelper
public class HTTPSHelper
- extends java.lang.Object
|
Method Summary |
static java.net.URLConnection |
buildConnection(java.lang.String serverURL)
|
static java.net.URLConnection |
buildConnection(java.net.URL serverURL)
|
static java.net.URLConnection |
buildHttpConnection(java.net.URL serverURL)
|
static java.net.URLConnection |
buildHttpsConnection(java.net.URL serverURL)
|
static java.lang.String |
requestServer(java.lang.String serverURL,
java.lang.String content,
boolean isZipped,
java.lang.String cookies)
|
static java.lang.String |
requestServer(java.net.URL serverURL,
java.lang.String content,
boolean isZipped,
java.lang.String cookies)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HTTPSHelper
public HTTPSHelper()
buildConnection
public static java.net.URLConnection buildConnection(java.lang.String serverURL)
throws java.io.IOException
- Throws:
java.io.IOException
buildConnection
public static java.net.URLConnection buildConnection(java.net.URL serverURL)
throws java.io.IOException
- Throws:
java.io.IOException
buildHttpConnection
public static java.net.URLConnection buildHttpConnection(java.net.URL serverURL)
throws java.io.IOException
- Throws:
java.io.IOException
buildHttpsConnection
public static java.net.URLConnection buildHttpsConnection(java.net.URL serverURL)
throws java.io.IOException
- Throws:
java.io.IOException
requestServer
public static java.lang.String requestServer(java.lang.String serverURL,
java.lang.String content,
boolean isZipped,
java.lang.String cookies)
throws java.io.IOException
- Throws:
java.io.IOException
requestServer
public static java.lang.String requestServer(java.net.URL serverURL,
java.lang.String content,
boolean isZipped,
java.lang.String cookies)
throws java.io.IOException
- Throws:
java.io.IOException