public class ArduinoServiceUtils extends Object
| Constructor and Description |
|---|
ArduinoServiceUtils() |
| Modifier and Type | Method and Description |
|---|---|
static HttpURLConnection |
getHttpConnection(String urlString) |
static String |
readResponseFromGetRequest(HttpURLConnection httpConnection) |
static String |
sendCommandViaHTTP(String deviceHTTPEndpoint,
String urlContext,
boolean fireAndForgot) |
public static String sendCommandViaHTTP(String deviceHTTPEndpoint, String urlContext, boolean fireAndForgot) throws org.wso2.carbon.device.mgt.common.DeviceManagementException
org.wso2.carbon.device.mgt.common.DeviceManagementExceptionpublic static HttpURLConnection getHttpConnection(String urlString) throws org.wso2.carbon.device.mgt.common.DeviceManagementException
org.wso2.carbon.device.mgt.common.DeviceManagementExceptionpublic static String readResponseFromGetRequest(HttpURLConnection httpConnection) throws org.wso2.carbon.device.mgt.common.DeviceManagementException
org.wso2.carbon.device.mgt.common.DeviceManagementExceptionCopyright © 2017 WSO2. All rights reserved.