diff options
author | Aurelien Poscia <aurelien.poscia@sonarsource.com> | 2023-02-10 10:47:32 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2023-02-10 20:02:45 +0000 |
commit | d8f977b4a4d2b3e3e6ab2316b8c6dec02c1c55dc (patch) | |
tree | 70ed4c6f6d092afebded9fe7ed2d1660e095475c /sonar-ws/src/main/java/org/sonarqube/ws/client/GetRequest.java | |
parent | 0def12a0a76202cf026a4c33f8c2b5c82986bb7c (diff) | |
download | sonarqube-d8f977b4a4d2b3e3e6ab2316b8c6dec02c1c55dc.tar.gz sonarqube-d8f977b4a4d2b3e3e6ab2316b8c6dec02c1c55dc.zip |
SONAR-18397 add ITs for permanent users de-provisioning triggered by Azure (SCIM)
Diffstat (limited to 'sonar-ws/src/main/java/org/sonarqube/ws/client/GetRequest.java')
-rw-r--r-- | sonar-ws/src/main/java/org/sonarqube/ws/client/GetRequest.java | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/GetRequest.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/GetRequest.java index bc5a82d0e3c..e835346611d 100644 --- a/sonar-ws/src/main/java/org/sonarqube/ws/client/GetRequest.java +++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/GetRequest.java @@ -19,10 +19,13 @@ */ package org.sonarqube.ws.client; +import java.util.function.Function; +import okhttp3.Request; + /** * @since 5.3 */ -public class GetRequest extends BaseRequest<GetRequest> { +public class GetRequest extends RequestWithoutPayload<GetRequest> { public GetRequest(String path) { super(path); } @@ -31,4 +34,9 @@ public class GetRequest extends BaseRequest<GetRequest> { public Method getMethod() { return Method.GET; } + + @Override + Function<Request.Builder, Request.Builder> addVerbToBuilder() { + return Request.Builder::get; + } } |