aboutsummaryrefslogtreecommitdiffstats
path: root/it/it-plugins/ws-plugin/src/main/java/LocalCallWebService.java
diff options
context:
space:
mode:
Diffstat (limited to 'it/it-plugins/ws-plugin/src/main/java/LocalCallWebService.java')
-rw-r--r--it/it-plugins/ws-plugin/src/main/java/LocalCallWebService.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/it/it-plugins/ws-plugin/src/main/java/LocalCallWebService.java b/it/it-plugins/ws-plugin/src/main/java/LocalCallWebService.java
index b878ef2c47f..7a2ca7561aa 100644
--- a/it/it-plugins/ws-plugin/src/main/java/LocalCallWebService.java
+++ b/it/it-plugins/ws-plugin/src/main/java/LocalCallWebService.java
@@ -49,7 +49,7 @@ public final class LocalCallWebService implements WebService {
private class ProtobufHandler implements RequestHandler {
@Override
public void handle(Request request, Response response) throws Exception {
- WsClient client = wsClientFactory.newClient(request.getLocalConnector());
+ WsClient client = wsClientFactory.newClient(request.localConnector());
WsCe.TaskTypesWsResponse ceTaskTypes = client.ce().taskTypes();
response.stream().setStatus(ceTaskTypes.getTaskTypesCount() > 0 ? 200 : 500);
@@ -59,7 +59,7 @@ public final class LocalCallWebService implements WebService {
private class JsonHandler implements RequestHandler {
@Override
public void handle(Request request, Response response) throws Exception {
- WsClient client = wsClientFactory.newClient(request.getLocalConnector());
+ WsClient client = wsClientFactory.newClient(request.localConnector());
WsResponse jsonResponse = client.wsConnector().call(new GetRequest("api/issues/search"));
boolean ok = jsonResponse.contentType().equals(MediaTypes.JSON)
@@ -72,7 +72,7 @@ public final class LocalCallWebService implements WebService {
private class RequirePermissionHandler implements RequestHandler {
@Override
public void handle(Request request, Response response) throws Exception {
- WsClient client = wsClientFactory.newClient(request.getLocalConnector());
+ WsClient client = wsClientFactory.newClient(request.localConnector());
WsResponse jsonResponse = client.wsConnector().call(new GetRequest("api/system/info"));