public class HttpUtils extends Object
| Constructor and Description |
|---|
HttpUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
get(InetSocketAddress httpAddr,
String path) |
static String |
get(InetSocketAddress httpAddr,
String username,
String password,
String path) |
static URL |
toHttpUrl(InetSocketAddress addr) |
public static URL toHttpUrl(InetSocketAddress addr)
public static String get(InetSocketAddress httpAddr, String path) throws IOException
IOExceptionpublic static String get(InetSocketAddress httpAddr, String username, String password, String path) throws IOException
IOExceptionCopyright © 2017. All rights reserved.