org.sonar.api.utils
Class ServerHttpClient
java.lang.Object
  
org.sonar.api.utils.ServerHttpClient
- All Implemented Interfaces: 
 - BatchExtension, Extension
 
public class ServerHttpClient
- extends Object
- implements BatchExtension
  
- Since:
 
  - 1.10
 
 
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
SERVER_API_PATH
protected static final String SERVER_API_PATH
- See Also:
 - Constant Field Values
 
MAVEN_PATH
protected static final String MAVEN_PATH
- See Also:
 - Constant Field Values
 
ServerHttpClient
public ServerHttpClient(String remoteServerUrl)
ServerHttpClient
public ServerHttpClient(String remoteServerUrl,
                        Integer connectTimeoutMiliseconds,
                        Integer readTimeoutMiliseconds)
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 String getId()
 
 
getVersion
public String getVersion()
 
 
getMavenRepositoryUrl
public String getMavenRepositoryUrl()
 
 
executeAction
protected String executeAction(String action)
 
 
getRemoteContent
protected String getRemoteContent(String url)
 
 
getUrl
public String getUrl()
 
 
Copyright © 2009-2010 SonarSource SA. All Rights Reserved.