Package com.vmware.vra.jenkinsplugin.vra
Class VraClient
java.lang.Object
com.vmware.vra.jenkinsplugin.vra.VraClient
- All Implemented Interfaces:
Serializable
public class VraClient extends Object implements Serializable
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VraClient.DateTypeAdapter
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description String
delete(String url, Map<String,String> query)
<R> R
delete(String url, Map<String,String> query, Class<R> responseClass)
String
executeRequest(org.apache.http.client.methods.HttpUriRequest rq)
String
get(String url, Map<String,String> query)
<R> R
get(String url, Map<String,String> query, Class<R> responseClass)
<R> R
post(String url, Map<String,String> query, Object request, Class<R> responseClass)
String
post(String url, Map<String,String> query, String payload)
-
Constructor Details
-
VraClient
- Throws:
VRAException
-
-
Method Details
-
post
public <R> R post(String url, Map<String,String> query, Object request, Class<R> responseClass) throws VRAException- Throws:
VRAException
-
post
public String post(String url, Map<String,String> query, String payload) throws IOException, VRAException- Throws:
IOException
VRAException
-
get
- Throws:
IOException
VRAException
-
delete
- Throws:
IOException
VRAException
-
executeRequest
public String executeRequest(org.apache.http.client.methods.HttpUriRequest rq) throws IOException, VRAException- Throws:
IOException
VRAException
-
get
public <R> R get(String url, Map<String,String> query, Class<R> responseClass) throws VRAException- Throws:
VRAException
-
delete
public <R> R delete(String url, Map<String,String> query, Class<R> responseClass) throws VRAException- Throws:
VRAException
-