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
IOExceptionpublic static HTTPResponse postWithResponse(String urlStr, String content, String authorization, boolean includeNewLine) throws IOException
IOExceptionpublic static int put(String urlStr, String content, String authorization) throws IOException
IOExceptionpublic static int delete(String urlStr, String authorization) throws IOException
IOExceptionpublic static HTTPResponse deleteWithResponse(String urlStr, String authorization) throws IOException
IOExceptionpublic static HTTPResponse get(String urlStr, String authorization, boolean verbose) throws IOException
IOExceptionCopyright © GigaSpaces.