- Add the Codota plugin to your IDE and get smart completions
private void myMethod () {}
public static void checkPort(String hostname, int port, int connectTimeout) throws IOException { InetSocketAddress addr = new InetSocketAddress(hostname, port); checkPort(hostname, addr, connectTimeout); }
public static void checkPort(String hostname, int port, int connectTimeout) throws IOException { InetSocketAddress addr = new InetSocketAddress(hostname, port); checkPort(hostname, addr, connectTimeout); }
public static void checkURL(String name, String url, int timeout) throws IOException { InetSocketAddress address = NetUtils.createSocketAddr(url); checkPort(name, address, timeout); }
public static void checkURL(String name, String url, int timeout) throws IOException { InetSocketAddress address = NetUtils.createSocketAddr(url); checkPort(name, address, timeout); }