public class UginApi
extends java.lang.Object
| Constructor and Description |
|---|
UginApi() |
| Modifier and Type | Method and Description |
|---|---|
static JsonNode |
findByLocation(int houseId,
int categoryId) |
static int |
getContractPortId(int cid,
int cityId) |
static JsonNode |
getJSON(java.net.URL url) |
static JsonNode |
getObjectPortLinks(int networkObjectId) |
static JsonNode |
portTune(int port,
java.lang.String service) |
static JsonNode |
postJSON(java.net.URL url,
java.lang.String urlParameters) |
public static JsonNode postJSON(java.net.URL url,
java.lang.String urlParameters)
throws BGMessageException
BGMessageExceptionpublic static JsonNode portTune(int port,
java.lang.String service)
throws java.net.MalformedURLException,
BGMessageException
java.net.MalformedURLExceptionBGMessageExceptionpublic static JsonNode getJSON(java.net.URL url)
throws java.io.IOException
java.io.IOExceptionpublic static JsonNode findByLocation(int houseId,
int categoryId)
throws java.net.MalformedURLException,
java.io.IOException
java.net.MalformedURLExceptionjava.io.IOExceptionpublic static JsonNode getObjectPortLinks(int networkObjectId)
throws java.net.MalformedURLException,
java.io.IOException
java.net.MalformedURLExceptionjava.io.IOExceptionpublic static int getContractPortId(int cid,
int cityId)
throws BGMessageException,
java.io.IOException
BGMessageExceptionjava.io.IOException