com.atlassian.bamboo.remoteapi.commands
Class AbstractCommand

java.lang.Object
  extended by com.atlassian.bamboo.remoteapi.commands.AbstractCommand
Direct Known Subclasses:
GetLatestBuildCommand, LoginCommand

public class AbstractCommand
extends Object

This class provides common remote api utility methods.


Field Summary
static int HTTP_STATUS_OK
           
 
Constructor Summary
AbstractCommand()
           
 
Method Summary
 String executePostMethod(String methodUrl, NameValuePair[] nameValuePairs)
           
protected  String extractTagData(String tagName, String httpResponse)
           
protected  HttpClient getHttpClient()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HTTP_STATUS_OK

public static final int HTTP_STATUS_OK
See Also:
Constant Field Values
Constructor Detail

AbstractCommand

public AbstractCommand()
Method Detail

executePostMethod

public String executePostMethod(String methodUrl,
                                NameValuePair[] nameValuePairs)

getHttpClient

protected HttpClient getHttpClient()

extractTagData

protected String extractTagData(String tagName,
                                String httpResponse)


Copyright © 2006 Atlassian Software Systems. All Rights Reserved.