@Deprecated public class ServerHttpClient extends Object implements BatchComponent
Modifier and Type | Class and Description |
---|---|
static class |
ServerHttpClient.ServerApiEmptyContentException
Deprecated.
|
static class |
ServerHttpClient.ServerConnectionException
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
protected static String |
MAVEN_PATH
Deprecated.
|
protected static String |
SERVER_API_PATH
Deprecated.
|
Constructor and Description |
---|
ServerHttpClient(org.apache.commons.configuration.Configuration configuration)
Deprecated.
|
ServerHttpClient(String remoteServerUrl)
Deprecated.
|
ServerHttpClient(String remoteServerUrl,
Integer connectTimeoutMiliseconds,
Integer readTimeoutMiliseconds)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
checkUp()
Deprecated.
Throws a runtime ServerConnectionException if it fails to connect Sonar server
|
protected String |
executeAction(String action)
Deprecated.
|
String |
getId()
Deprecated.
|
String |
getMavenRepositoryUrl()
Deprecated.
|
protected String |
getRemoteContent(String url)
Deprecated.
|
String |
getUrl()
Deprecated.
|
String |
getVersion()
Deprecated.
|
protected static final String SERVER_API_PATH
protected static final String MAVEN_PATH
public ServerHttpClient(String remoteServerUrl)
public ServerHttpClient(String remoteServerUrl, Integer connectTimeoutMiliseconds, Integer readTimeoutMiliseconds)
public ServerHttpClient(org.apache.commons.configuration.Configuration configuration)
public void checkUp()
public String getVersion()
public String getMavenRepositoryUrl()
protected String executeAction(String action)
protected String getRemoteContent(String url)
Copyright © 2009-2012 SonarSource. All Rights Reserved.