org.sonar.commons
Class ServerHttpClient
java.lang.Object
org.sonar.commons.ServerHttpClient
public class ServerHttpClient
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BATCH_PATH
protected static final java.lang.String BATCH_PATH
- See Also:
- Constant Field Values
MAVEN_PATH
protected static final java.lang.String MAVEN_PATH
- See Also:
- Constant Field Values
SERVER_API_PATH
protected static final java.lang.String SERVER_API_PATH
- See Also:
- Constant Field Values
ServerHttpClient
public ServerHttpClient(java.lang.String remoteServerUrl)
getAction
protected java.lang.String getAction(java.lang.String action)
throws ServerApiEmptyContentException,
java.io.IOException
- Throws:
ServerApiEmptyContentException
java.io.IOException
getId
public java.lang.String getId()
throws java.io.IOException
- Throws:
java.io.IOException
getMavenRepositoryUrl
public java.lang.String getMavenRepositoryUrl()
getRemoteContent
protected java.lang.String getRemoteContent(java.lang.String url)
throws java.io.IOException
- Throws:
java.io.IOException
getUrl
protected java.lang.String getUrl()
getVersion
public java.lang.String getVersion()
throws java.io.IOException
- Throws:
java.io.IOException
launchBatch
public void launchBatch(java.lang.Integer snapshotId)
postRemoteContent
protected void postRemoteContent(java.lang.String url)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2008-2009 SonarSource SA. All Rights Reserved.