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.DeviceManagementException
public static HttpURLConnection getHttpConnection(String urlString) throws org.wso2.carbon.device.mgt.common.DeviceManagementException
org.wso2.carbon.device.mgt.common.DeviceManagementException
public static String readResponseFromGetRequest(HttpURLConnection httpConnection) throws org.wso2.carbon.device.mgt.common.DeviceManagementException
org.wso2.carbon.device.mgt.common.DeviceManagementException
Copyright © 2017 WSO2. All rights reserved.