public class JaxrsClientRestClient extends com.holonplatform.http.internal.rest.AbstractRestClient implements JaxrsRestClient
RestClient implementation.com.holonplatform.http.rest.RestClient.Invocation, com.holonplatform.http.rest.RestClient.RequestDefinitioncom.holonplatform.http.rest.RestClientOperations.InvocationOperations<RE,RP,RS,RL,RU>, com.holonplatform.http.rest.RestClientOperations.RequestConfiguration<R extends com.holonplatform.http.rest.RestClientOperations.RequestConfiguration<R>>| Constructor and Description |
|---|
JaxrsClientRestClient(javax.ws.rs.client.Client client)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.client.Client |
getClient()
Get the JAX-RS Client bound to this RestClient.
|
<T,R> com.holonplatform.http.rest.ResponseEntity<T> |
invoke(com.holonplatform.http.rest.RestClient.RequestDefinition requestDefinition,
com.holonplatform.http.HttpMethod method,
com.holonplatform.http.rest.RequestEntity<R> requestEntity,
com.holonplatform.http.rest.ResponseType<T> responseType,
boolean onlySuccessfulStatusCode) |
clearDefaultHeaders, defaultTarget, getDefaultTarget, removeDefaultHeader, request, withDefaultHeaderequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreate, createpublic JaxrsClientRestClient(javax.ws.rs.client.Client client)
client - Jax-rs clientpublic javax.ws.rs.client.Client getClient()
JaxrsRestClientgetClient in interface JaxrsRestClientpublic <T,R> com.holonplatform.http.rest.ResponseEntity<T> invoke(com.holonplatform.http.rest.RestClient.RequestDefinition requestDefinition,
com.holonplatform.http.HttpMethod method,
com.holonplatform.http.rest.RequestEntity<R> requestEntity,
com.holonplatform.http.rest.ResponseType<T> responseType,
boolean onlySuccessfulStatusCode)
invoke in interface com.holonplatform.http.internal.rest.InvokerCopyright © 2019 The Holon Platform. All rights reserved.