RX - the concrete reactive invocation type.public interface RxInvocationBuilder<RX extends RxInvoker>
extends javax.ws.rs.client.Invocation.Builder
rx() and
rx(java.util.concurrent.ExecutorService), giving access to
reactive invoker that provide means to invoke reactive client requests.Invocation.Builder,
RxInvoker| Modifier and Type | Method and Description |
|---|---|
RxInvocationBuilder<RX> |
accept(javax.ws.rs.core.MediaType... mediaTypes) |
RxInvocationBuilder<RX> |
accept(String... mediaTypes) |
RxInvocationBuilder<RX> |
acceptEncoding(String... encodings) |
RxInvocationBuilder<RX> |
acceptLanguage(Locale... locales) |
RxInvocationBuilder<RX> |
acceptLanguage(String... locales) |
RxInvocationBuilder<RX> |
cacheControl(javax.ws.rs.core.CacheControl cacheControl) |
RxInvocationBuilder<RX> |
cookie(javax.ws.rs.core.Cookie cookie) |
RxInvocationBuilder<RX> |
cookie(String name,
String value) |
RxInvocationBuilder<RX> |
header(String name,
Object value) |
RxInvocationBuilder<RX> |
headers(javax.ws.rs.core.MultivaluedMap<String,Object> headers) |
RxInvocationBuilder<RX> |
property(String name,
Object value) |
RX |
rx()
Access the reactive request invocation interface to invoke the built request.
|
RX |
rx(ExecutorService executorService)
Access the reactive request invocation interface to invoke the built request on a given
executor service. |
RX rx()
null if a invoker for a given type cannot be created.RX rx(ExecutorService executorService)
executor service.executorService - the executor service to execute current reactive request.null if a invoker for a given type cannot be created.RxInvocationBuilder<RX> accept(String... mediaTypes)
accept in interface javax.ws.rs.client.Invocation.BuilderRxInvocationBuilder<RX> accept(javax.ws.rs.core.MediaType... mediaTypes)
accept in interface javax.ws.rs.client.Invocation.BuilderRxInvocationBuilder<RX> acceptLanguage(Locale... locales)
acceptLanguage in interface javax.ws.rs.client.Invocation.BuilderRxInvocationBuilder<RX> acceptLanguage(String... locales)
acceptLanguage in interface javax.ws.rs.client.Invocation.BuilderRxInvocationBuilder<RX> acceptEncoding(String... encodings)
acceptEncoding in interface javax.ws.rs.client.Invocation.BuilderRxInvocationBuilder<RX> cookie(javax.ws.rs.core.Cookie cookie)
cookie in interface javax.ws.rs.client.Invocation.BuilderRxInvocationBuilder<RX> cookie(String name, String value)
cookie in interface javax.ws.rs.client.Invocation.BuilderRxInvocationBuilder<RX> cacheControl(javax.ws.rs.core.CacheControl cacheControl)
cacheControl in interface javax.ws.rs.client.Invocation.BuilderRxInvocationBuilder<RX> header(String name, Object value)
header in interface javax.ws.rs.client.Invocation.BuilderRxInvocationBuilder<RX> headers(javax.ws.rs.core.MultivaluedMap<String,Object> headers)
headers in interface javax.ws.rs.client.Invocation.BuilderRxInvocationBuilder<RX> property(String name, Object value)
property in interface javax.ws.rs.client.Invocation.BuilderCopyright © 2007-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.