org.sonar.api.utils
Class ServerHttpClient

java.lang.Object
  extended by org.sonar.api.utils.ServerHttpClient
All Implemented Interfaces:
BatchComponent

Deprecated. use org.sonar.api.plaform.Server instead

@Deprecated
public class ServerHttpClient
extends Object
implements BatchComponent

Since:
1.10

Nested Class Summary
static class ServerHttpClient.ServerApiEmptyContentException
          Deprecated.  
static class ServerHttpClient.ServerConnectionException
          Deprecated.  
 
Field Summary
protected static String MAVEN_PATH
          Deprecated.  
protected static String SERVER_API_PATH
          Deprecated.  
 
Constructor Summary
ServerHttpClient(org.apache.commons.configuration.Configuration configuration)
          Deprecated.  
ServerHttpClient(String remoteServerUrl)
          Deprecated.  
ServerHttpClient(String remoteServerUrl, Integer connectTimeoutMiliseconds, Integer readTimeoutMiliseconds)
          Deprecated.  
 
Method Summary
 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.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SERVER_API_PATH

protected static final String SERVER_API_PATH
Deprecated. 
See Also:
Constant Field Values

MAVEN_PATH

protected static final String MAVEN_PATH
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

ServerHttpClient

public ServerHttpClient(String remoteServerUrl)
Deprecated. 

ServerHttpClient

public ServerHttpClient(String remoteServerUrl,
                        Integer connectTimeoutMiliseconds,
                        Integer readTimeoutMiliseconds)
Deprecated. 

ServerHttpClient

public ServerHttpClient(org.apache.commons.configuration.Configuration configuration)
Deprecated. 
Method Detail

checkUp

public void checkUp()
Deprecated. 
Throws a runtime ServerConnectionException if it fails to connect Sonar server


getId

public String getId()
Deprecated. 

getVersion

public String getVersion()
Deprecated. 

getMavenRepositoryUrl

public String getMavenRepositoryUrl()
Deprecated. 

executeAction

protected String executeAction(String action)
Deprecated. 

getRemoteContent

protected String getRemoteContent(String url)
Deprecated. 

getUrl

public String getUrl()
Deprecated. 


Copyright © 2009-2012 SonarSource. All Rights Reserved.