public class JaxrsClientAsyncRestClient extends com.holonplatform.async.http.internal.AbstractAsyncRestClient implements JaxrsAsyncRestClient
AsyncRestClient implementation.com.holonplatform.async.http.AsyncRestClient.AsyncInvocation, com.holonplatform.async.http.AsyncRestClient.AsyncRequestDefinitioncom.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 |
|---|
JaxrsClientAsyncRestClient(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
AsyncRestClient. |
<T,R> CompletionStage<com.holonplatform.http.rest.ResponseEntity<T>> |
invoke(com.holonplatform.async.http.AsyncRestClient.AsyncRequestDefinition 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 JaxrsClientAsyncRestClient(javax.ws.rs.client.Client client)
client - Jax-rs clientpublic javax.ws.rs.client.Client getClient()
JaxrsAsyncRestClientAsyncRestClient.getClient in interface JaxrsAsyncRestClientpublic <T,R> CompletionStage<com.holonplatform.http.rest.ResponseEntity<T>> invoke(com.holonplatform.async.http.AsyncRestClient.AsyncRequestDefinition 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.async.http.internal.AsyncInvokerCopyright © 2019 The Holon Platform. All rights reserved.