Cosm.Client
Class CosmClient

java.lang.Object
  extended by Cosm.Client.CosmClient

public class CosmClient
extends java.lang.Object


Constructor Summary
CosmClient(java.lang.String APIKEYS)
           
CosmClient(java.lang.String username, java.lang.String password)
           
 
Method Summary
 org.apache.http.HttpResponse execute(org.apache.http.client.methods.HttpRequestBase request)
           
 java.lang.String getBody(org.apache.http.HttpResponse response)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CosmClient

public CosmClient(java.lang.String APIKEYS)

CosmClient

public CosmClient(java.lang.String username,
                  java.lang.String password)
Method Detail

execute

public org.apache.http.HttpResponse execute(org.apache.http.client.methods.HttpRequestBase request)
                                     throws java.io.IOException
Throws:
java.io.IOException

getBody

public java.lang.String getBody(org.apache.http.HttpResponse response)
                         throws java.io.IOException
Throws:
java.io.IOException