public class RestfulUtils
extends java.lang.Object
Constructor and Description |
---|
RestfulUtils() |
Modifier and Type | Method and Description |
---|---|
static boolean |
checkErrorCode(java.lang.String response) |
static org.apache.http.client.methods.HttpPost |
createMethod(java.lang.String RFURL) |
static java.lang.String |
printErrorMessage(java.lang.String response) |
static java.lang.String |
sendRequest(RFPacket packet,
java.lang.String RFURL) |
public static org.apache.http.client.methods.HttpPost createMethod(java.lang.String RFURL)
public static java.lang.String sendRequest(RFPacket packet, java.lang.String RFURL)
public static boolean checkErrorCode(java.lang.String response)
public static java.lang.String printErrorMessage(java.lang.String response)