- /**
- *
- * @param ip
- * @param port
- * @param url
- * @return
- * @throws ClientProtocolException
- * @throws IOException
- */
- public static String get(String ip, int port, String url)
- throws ClientProtocolException, IOException {
- return executeHttp(HttpMethod.GET, ip, port, url, null).getResult();
- }
-
- /**
- *
- * @param ip
- * @param port
- * @param url
- * @return
- * @throws ClientProtocolException
- * @throws IOException
- */
- public static RestResponse delete(String ip, int port, String url)
- throws ClientProtocolException, IOException {
- return executeHttp(HttpMethod.GET, ip, port, url, null);
- }
-