public abstract class BaseService extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
controller |
Constructor and Description |
---|
BaseService(WsConnector wsConnector,
String controllerPath) |
Modifier and Type | Method and Description |
---|---|
protected <T extends com.google.protobuf.Message> |
call(org.sonarqube.ws.client.BaseRequest request,
com.google.protobuf.Parser<T> parser) |
protected WsResponse |
call(WsRequest request) |
<T extends com.google.protobuf.Message> |
convert(WsResponse response,
com.google.protobuf.Parser<T> parser) |
protected static String |
inlineMultipleParamValue(List<String> values) |
protected String |
path(String action) |
protected final String controller
public BaseService(WsConnector wsConnector, String controllerPath)
protected <T extends com.google.protobuf.Message> T call(org.sonarqube.ws.client.BaseRequest request, com.google.protobuf.Parser<T> parser)
protected WsResponse call(WsRequest request)
public <T extends com.google.protobuf.Message> T convert(WsResponse response, com.google.protobuf.Parser<T> parser)
@CheckForNull protected static String inlineMultipleParamValue(@Nullable List<String> values)
Copyright © 2009–2016 SonarSource. All rights reserved.