Package org.sonarqube.ws.client
Class PutRequest
- All Implemented Interfaces:
WsRequest
- Since:
- 5.3
-
Nested Class Summary
Nested classes/interfaces inherited from class org.sonarqube.ws.client.RequestWithPayload
RequestWithPayload.Part
Nested classes/interfaces inherited from interface org.sonarqube.ws.client.WsRequest
WsRequest.Method
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionIn case of multi value parameters, returns the first valuegetPath()
<T extends SELF>
T<T extends SELF>
TExpected media type of response.<T extends SELF>
T<T extends SELF>
T<T extends SELF>
T<T extends SELF>
T<T extends SELF>
T<T extends SELF>
TsetParam
(String key, Collection<? extends Object> values) <T extends SELF>
TsetTimeOutInMs
(int timeOutInMs) <T extends SELF>
TsetWriteTimeOutInMs
(int writeTimeOutInMs) Methods inherited from class org.sonarqube.ws.client.RequestWithPayload
getBody, getContentType, getParts, hasBody, setBody, setContentType, setPart
-
Constructor Details
-
PutRequest
-
-
Method Details
-
getMethod
-
getPath
-
getMediaType
- Specified by:
getMediaType
in interfaceWsRequest
-
getTimeOutInMs
- Specified by:
getTimeOutInMs
in interfaceWsRequest
-
setTimeOutInMs
public <T extends SELF> T setTimeOutInMs(int timeOutInMs) -
getWriteTimeOutInMs
- Specified by:
getWriteTimeOutInMs
in interfaceWsRequest
-
setWriteTimeOutInMs
public <T extends SELF> T setWriteTimeOutInMs(int writeTimeOutInMs) -
setMediaType
Expected media type of response. Default isMediaTypes.JSON
. -
setParam
-
setParam
-
setParam
-
setParam
-
setParam
-
setParam
-
getParams
Description copied from interface:WsRequest
In case of multi value parameters, returns the first value -
getParameters
- Specified by:
getParameters
in interfaceWsRequest
-
getHeaders
- Specified by:
getHeaders
in interfaceWsRequest
-
setHeader
-