com.vmware.vim.rest
Class RestClient
java.lang.Object
com.vmware.vim.rest.RestClient
public class RestClient
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RestClient
public RestClient(String serverUrl,
String username,
String password)
get
public String get(String urlStr)
throws IOException
- Throws:
IOException
post
public String post(String urlStr)
throws Exception
- Throws:
Exception
post
public String post(String urlStr,
Map<String,String> para)
throws Exception
- Throws:
Exception
getUrlStr
public String getUrlStr()
Copyright © 2011-2012. All Rights Reserved.