Class RestClient
java.lang.Object
org.mule.weave.maven.plugin.client.RestClient
- Direct Known Subclasses:
ExchangeClient
-
Constructor Summary
ConstructorsConstructorDescriptionRestClient(boolean withMultiPartFeature, boolean suppressHttpComplianceValidation) -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckResponseSuccessfulStatus(javax.ws.rs.core.Response response) encodeUtf8(String value) <T> javax.ws.rs.core.Responsepatch(String uri, String path, javax.ws.rs.client.Entity<T> entity, Consumer<javax.ws.rs.client.Invocation.Builder> requestCustomizer) <T> javax.ws.rs.core.Responsepatch(String uri, String path, T entity, Consumer<javax.ws.rs.client.Invocation.Builder> requestCustomizer) <T> javax.ws.rs.core.Response<T> javax.ws.rs.core.Response<T,U> U javax.ws.rs.core.ResponsepostFormUrlEncoded(String uri, String path, javax.ws.rs.client.Entity<javax.ws.rs.core.Form> form) <U> UpostFormUrlEncoded(String uri, String path, javax.ws.rs.client.Entity<javax.ws.rs.core.Form> form, Class<U> clazz) <T> javax.ws.rs.core.Responseput(String uri, String path, javax.ws.rs.client.Entity<T> entity, Consumer<javax.ws.rs.client.Invocation.Builder> requestCustomizer)
-
Constructor Details
-
RestClient
public RestClient(boolean withMultiPartFeature, boolean suppressHttpComplianceValidation)
-
-
Method Details
-
postFormUrlEncoded
-
postFormUrlEncoded
-
post
-
post
-
post
-
put
-
patch
-
patch
-
encodeUtf8
-
checkResponseSuccessfulStatus
public void checkResponseSuccessfulStatus(javax.ws.rs.core.Response response) throws ClientException - Throws:
ClientException
-