public class HttpClientUtil extends Object
| Constructor and Description |
|---|
HttpClientUtil() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(String endpoint,
String params) |
org.apache.axiom.om.OMElement |
get(String endpoint) |
org.apache.axiom.om.OMElement |
getWithContentType(String endpoint,
String params,
String contentType) |
void |
patch(String endpoint,
String params) |
void |
post(String endpoint,
String params) |
int |
postWithContentType(String endpoint,
String params,
String contentType) |
void |
put(String endpoint,
String params) |
public org.apache.axiom.om.OMElement getWithContentType(String endpoint, String params, String contentType) throws Exception
Exceptionpublic int postWithContentType(String endpoint, String params, String contentType) throws Exception
ExceptionCopyright © 2014. All rights reserved.