Class HttpUtils
java.lang.Object
org.openspaces.admin.internal.utils.HttpUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intstatic HTTPResponsedeleteWithResponse(String urlStr, String authorization) static HTTPResponsestatic intstatic HTTPResponsepostWithResponse(String urlStr, String content, String authorization, boolean includeNewLine) static int
-
Constructor Details
-
HttpUtils
public HttpUtils()
-
-
Method Details
-
post
- Throws:
IOException
-
postWithResponse
public static HTTPResponse postWithResponse(String urlStr, String content, String authorization, boolean includeNewLine) throws IOException - Throws:
IOException
-
put
- Throws:
IOException
-
delete
- Throws:
IOException
-
deleteWithResponse
public static HTTPResponse deleteWithResponse(String urlStr, String authorization) throws IOException - Throws:
IOException
-
get
public static HTTPResponse get(String urlStr, String authorization, boolean verbose) throws IOException - Throws:
IOException
-