Package fr.gouv.vitam.common.client
Class VitamRequestBuilder
java.lang.Object
fr.gouv.vitam.common.client.VitamRequestBuilder
-
Method Summary
Modifier and TypeMethodDescriptionstatic VitamRequestBuilder
delete()
static VitamRequestBuilder
get()
javax.ws.rs.core.MediaType
getBody()
javax.ws.rs.core.MediaType
getPath()
static VitamRequestBuilder
head()
boolean
static VitamRequestBuilder
options()
static VitamRequestBuilder
post()
static VitamRequestBuilder
put()
void
withAccept
(javax.ws.rs.core.MediaType accept) withBaseUrl
(String url) withBefore
(Runnable beforeExecRequest) withChunckedMode
(boolean chunckedMode) withContentType
(javax.ws.rs.core.MediaType contentType) withHeader
(String key, Object value) withHeaderIgnoreNull
(String key, Object value) withHeaderReplaceExisting
(String key, Object value) withHeaders
(javax.ws.rs.core.MultivaluedMap<String, Object> headers) withJson()
withOptionalHeader
(String key, Object value) withQueryParam
(String key, String value) withQueryParams
(Map<String, String> queryParams)
-
Method Details
-
get
-
post
-
put
-
delete
-
head
-
options
-
runBeforeExecRequest
public void runBeforeExecRequest() -
withBaseUrl
-
withNoBaseUrl
-
withJson
-
withOctet
-
withJsonOctet
-
withJsonContentType
-
withXMLContentType
-
withContentType
-
withOctetContentType
-
withNoContentType
-
withJsonAccept
-
withOctetAccept
-
withXMLAccept
-
withAccept
-
withBody
-
withBody
-
withBefore
-
withHeaders
-
withOptionalHeader
-
withHeader
-
withHeaderReplaceExisting
-
withHeaderIgnoreNull
-
withPath
-
withQueryParams
-
withQueryParam
-
withChunckedMode
-
getQueryParams
-
getHttpMethod
-
getContentType
public javax.ws.rs.core.MediaType getContentType() -
getAccept
public javax.ws.rs.core.MediaType getAccept() -
getBody
-
getHeaders
-
getPath
-
isChunckedMode
public boolean isChunckedMode() -
getBaseUrl
-