com.atlassian.bamboo.remoteapi.commands
Class AbstractCommand
java.lang.Object
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.
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 |
HTTP_STATUS_OK
public static final int HTTP_STATUS_OK
- See Also:
- Constant Field Values
AbstractCommand
public AbstractCommand()
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.