public class JaxrsClientReactiveRestClient extends com.holonplatform.reactor.http.internal.AbstractReactiveRestClient implements JaxrsReactiveRestClient
ReactiveRestClient implementation.com.holonplatform.reactor.http.ReactiveRestClient.ReactiveInvocation, com.holonplatform.reactor.http.ReactiveRestClient.ReactiveRequestDefinitioncom.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 |
|---|
JaxrsClientReactiveRestClient(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
ReactiveRestClient. |
<T,R> reactor.core.publisher.Mono<com.holonplatform.reactor.http.ReactiveResponseEntity<T>> |
invoke(com.holonplatform.reactor.http.ReactiveRestClient.ReactiveRequestDefinition 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 JaxrsClientReactiveRestClient(javax.ws.rs.client.Client client)
client - Jax-rs clientpublic javax.ws.rs.client.Client getClient()
JaxrsReactiveRestClientReactiveRestClient.getClient in interface JaxrsReactiveRestClientpublic <T,R> reactor.core.publisher.Mono<com.holonplatform.reactor.http.ReactiveResponseEntity<T>> invoke(com.holonplatform.reactor.http.ReactiveRestClient.ReactiveRequestDefinition 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.reactor.http.internal.ReactiveInvokerCopyright © 2019 The Holon Platform. All rights reserved.