public class HttpUtil
extends java.lang.Object
Constructor and Description |
---|
HttpUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
download(java.lang.String fromURL,
java.io.File toFile) |
static void |
download(java.net.URL fromURL,
java.io.File toFile) |
static boolean |
isPortActive(java.lang.String host,
int port) |
static boolean |
isResponsive(java.net.URL url) |
static java.net.URL |
resolveURL(java.lang.String urlString) |
static java.net.URL |
resolveURL(java.net.URL url) |
public static boolean isResponsive(java.net.URL url)
public static java.net.URL resolveURL(java.lang.String urlString) throws java.io.IOException
java.io.IOException
public static java.net.URL resolveURL(java.net.URL url) throws java.io.IOException
java.io.IOException
public static boolean isPortActive(java.lang.String host, int port)
public static void download(java.lang.String fromURL, java.io.File toFile) throws java.io.IOException
java.io.IOException
public static void download(java.net.URL fromURL, java.io.File toFile) throws java.io.IOException
java.io.IOException
Copyright © 2004-2014 The YAWL Foundation.