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
BGMessageException
public static JsonNode portTune(int port, java.lang.String service) throws java.net.MalformedURLException, BGMessageException
java.net.MalformedURLException
BGMessageException
public static JsonNode getJSON(java.net.URL url) throws java.io.IOException
java.io.IOException
public static JsonNode findByLocation(int houseId, int categoryId) throws java.net.MalformedURLException, java.io.IOException
java.net.MalformedURLException
java.io.IOException
public static JsonNode getObjectPortLinks(int networkObjectId) throws java.net.MalformedURLException, java.io.IOException
java.net.MalformedURLException
java.io.IOException
public static int getContractPortId(int cid, int cityId) throws BGMessageException, java.io.IOException
BGMessageException
java.io.IOException