org.dasein.cloud.cloudstack
Class CSMethod

java.lang.Object
  extended by org.dasein.cloud.cloudstack.CSMethod

public class CSMethod
extends Object


Nested Class Summary
static class CSMethod.ParsedError
           
 
Field Summary
static String CREATE_KEYPAIR
           
static String DELETE_KEYPAIR
           
static String LIST_KEYPAIRS
           
 
Constructor Summary
CSMethod(CSCloud provider)
           
 
Method Summary
 String buildUrl(String command, Param... params)
           
 Document get(String url)
           
protected  org.apache.http.client.HttpClient getClient(String url)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CREATE_KEYPAIR

public static final String CREATE_KEYPAIR
See Also:
Constant Field Values

DELETE_KEYPAIR

public static final String DELETE_KEYPAIR
See Also:
Constant Field Values

LIST_KEYPAIRS

public static final String LIST_KEYPAIRS
See Also:
Constant Field Values
Constructor Detail

CSMethod

public CSMethod(@Nonnull
                CSCloud provider)
Method Detail

buildUrl

public String buildUrl(String command,
                       Param... params)
                throws CloudException,
                       InternalException
Throws:
CloudException
InternalException

getClient

@Nonnull
protected org.apache.http.client.HttpClient getClient(String url)
                                               throws InternalException
Throws:
InternalException

get

public Document get(String url)
             throws CloudException,
                    InternalException
Throws:
CloudException
InternalException


Copyright © 2012 enStratus Networks Inc. All Rights Reserved.