public class NetUtils extends Object
| Constructor and Description |
|---|
NetUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getContent(URL url,
int timeOut) |
static byte[] |
getContentAsBytes(URL url,
int timeOut) |
static void |
main(String[] args) |
static com.fasterxml.jackson.databind.node.ObjectNode |
post(String url,
com.fasterxml.jackson.databind.node.ObjectNode objectNode) |
public static String getContent(URL url, int timeOut) throws IOException
IOExceptionpublic static byte[] getContentAsBytes(URL url, int timeOut) throws IOException
IOExceptionpublic static void main(String[] args)
public static com.fasterxml.jackson.databind.node.ObjectNode post(String url, com.fasterxml.jackson.databind.node.ObjectNode objectNode) throws IOException
IOExceptionCopyright © 2018 OpenSource BIM. All rights reserved.