public class HttpUtils extends Object
Constructor and Description |
---|
HttpUtils() |
Modifier and Type | Method and Description |
---|---|
static int |
delete(String urlStr,
String authorization) |
static HTTPResponse |
deleteWithResponse(String urlStr,
String authorization) |
static HTTPResponse |
get(String urlStr,
String authorization,
boolean verbose) |
static int |
post(String urlStr,
String content,
String authorization) |
static HTTPResponse |
postWithResponse(String urlStr,
String content,
String authorization,
boolean includeNewLine) |
static int |
put(String urlStr,
String content,
String authorization) |
public static int post(String urlStr, String content, String authorization) throws IOException
IOException
public static HTTPResponse postWithResponse(String urlStr, String content, String authorization, boolean includeNewLine) throws IOException
IOException
public static int put(String urlStr, String content, String authorization) throws IOException
IOException
public static int delete(String urlStr, String authorization) throws IOException
IOException
public static HTTPResponse deleteWithResponse(String urlStr, String authorization) throws IOException
IOException
public static HTTPResponse get(String urlStr, String authorization, boolean verbose) throws IOException
IOException
Copyright © GigaSpaces.