org.sonar.wsclient.connectors
Class Connector
java.lang.Object
org.sonar.wsclient.connectors.Connector
- Direct Known Subclasses:
- HttpClient3Connector, HttpClient4Connector
public abstract class Connector
- extends Object
- Since:
- 2.1
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Connector
public Connector()
execute
public abstract String execute(Query<?> query)
- Returns:
- JSON response or null if 404 NOT FOUND error
- Throws:
ConnectionException
- if connection error or HTTP status not in (200, 404)
execute
public abstract String execute(CreateQuery<?> query)
- Returns:
- JSON response or null if 404 NOT FOUND error
- Since:
- 2.2
execute
public abstract String execute(DeleteQuery query)
- Returns:
- JSON response or null if 404 NOT FOUND error
- Since:
- 2.2
execute
public abstract String execute(UpdateQuery<?> query)
- Returns:
- JSON response or null if 404 NOT FOUND error
- Since:
- 2.6
Copyright © 2009-2012 SonarSource. All Rights Reserved.