Package org.sonarqube.ws.client
Class PostRequest
java.lang.Object
org.sonarqube.ws.client.PostRequest
- All Implemented Interfaces:
WsRequest
- Since:
- 5.3
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.sonarqube.ws.client.WsRequest
WsRequest.Method
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBody()
In case of multi value parameters, returns the first valuegetParts()
getPath()
boolean
hasBody()
Expected media type of response.setParam
(String key, Collection<? extends Object> values) setPart
(String name, PostRequest.Part part) setTimeOutInMs
(int timeOutInMs) setWriteTimeOutInMs
(int writeTimeOutInMs)
-
Constructor Details
-
PostRequest
-
-
Method Details
-
getMethod
-
setBody
-
getBody
-
hasBody
public boolean hasBody() -
setPart
-
getParts
-
getPath
-
getMediaType
- Specified by:
getMediaType
in interfaceWsRequest
-
getTimeOutInMs
- Specified by:
getTimeOutInMs
in interfaceWsRequest
-
setTimeOutInMs
-
getWriteTimeOutInMs
- Specified by:
getWriteTimeOutInMs
in interfaceWsRequest
-
setWriteTimeOutInMs
-
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
-