jenkins.plugin.assembla.api
Class AssemblaHttpClient

java.lang.Object
  extended by jenkins.plugin.assembla.api.AssemblaHttpClient

public class AssemblaHttpClient
extends Object


Constructor Summary
AssemblaHttpClient(AssemblaSite assemblaSite)
           
AssemblaHttpClient(String url, String username, String password)
           
 
Method Summary
 int executeHttpGet(String space, String resource)
           
 int executeHttpPut(String space, String resource, String data)
           
 InputStream getResponseStream()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssemblaHttpClient

public AssemblaHttpClient(String url,
                          String username,
                          String password)

AssemblaHttpClient

public AssemblaHttpClient(AssemblaSite assemblaSite)
Method Detail

getResponseStream

public InputStream getResponseStream()

executeHttpGet

public int executeHttpGet(String space,
                          String resource)
                   throws IOException
Throws:
IOException

executeHttpPut

public int executeHttpPut(String space,
                          String resource,
                          String data)
                   throws IOException
Throws:
IOException


Copyright © 2004-2013. All Rights Reserved.