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 java.lang.Object

This class provides common remote api utility methods.


Field Summary
static int HTTP_STATUS_OK
           
 
Constructor Summary
AbstractCommand()
           
 
Method Summary
 java.lang.String executePostMethod(java.lang.String methodUrl, org.apache.commons.httpclient.NameValuePair[] nameValuePairs)
           
protected  java.lang.String extractTagData(java.lang.String tagName, java.lang.String httpResponse)
           
protected  org.apache.commons.httpclient.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 java.lang.String executePostMethod(java.lang.String methodUrl,
                                          org.apache.commons.httpclient.NameValuePair[] nameValuePairs)

getHttpClient

protected org.apache.commons.httpclient.HttpClient getHttpClient()

extractTagData

protected java.lang.String extractTagData(java.lang.String tagName,
                                          java.lang.String httpResponse)


Copyright © 2010 Atlassian. All Rights Reserved.