org.sonar.api.utils
Class ServerHttpClient
java.lang.Object
org.sonar.api.utils.ServerHttpClient
- All Implemented Interfaces:
- BatchExtension, Extension
public class ServerHttpClient
- extends java.lang.Object
- implements BatchExtension
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SERVER_API_PATH
protected static final java.lang.String SERVER_API_PATH
- See Also:
- Constant Field Values
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
ServerHttpClient
public ServerHttpClient(java.lang.String remoteServerUrl)
ServerHttpClient
public ServerHttpClient(org.apache.commons.configuration.Configuration configuration)
checkUp
public void checkUp()
- Throws a runtime ServerConnectionException if it fails to connect Sonar server
getId
public java.lang.String getId()
getVersion
public java.lang.String getVersion()
getMavenRepositoryUrl
public java.lang.String getMavenRepositoryUrl()
executeAction
protected java.lang.String executeAction(java.lang.String action)
getRemoteContent
protected java.lang.String getRemoteContent(java.lang.String url)
getUrl
public java.lang.String getUrl()
Copyright © 2009 SonarSource SA. All Rights Reserved.