RX - the concrete reactive invocation type.@Beta public interface RxInvocationBuilder<RX extends RxInvoker> extends 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(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(CacheControl cacheControl) |
RxInvocationBuilder<RX> |
cookie(Cookie cookie) |
RxInvocationBuilder<RX> |
cookie(String name,
String value) |
RxInvocationBuilder<RX> |
header(String name,
Object value) |
RxInvocationBuilder<RX> |
headers(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. |
async, build, build, buildDelete, buildGet, buildPost, buildPutRX 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 Invocation.BuilderRxInvocationBuilder<RX> accept(MediaType... mediaTypes)
accept in interface Invocation.BuilderRxInvocationBuilder<RX> acceptLanguage(Locale... locales)
acceptLanguage in interface Invocation.BuilderRxInvocationBuilder<RX> acceptLanguage(String... locales)
acceptLanguage in interface Invocation.BuilderRxInvocationBuilder<RX> acceptEncoding(String... encodings)
acceptEncoding in interface Invocation.BuilderRxInvocationBuilder<RX> cookie(Cookie cookie)
cookie in interface Invocation.BuilderRxInvocationBuilder<RX> cookie(String name, String value)
cookie in interface Invocation.BuilderRxInvocationBuilder<RX> cacheControl(CacheControl cacheControl)
cacheControl in interface Invocation.BuilderRxInvocationBuilder<RX> header(String name, Object value)
header in interface Invocation.BuilderRxInvocationBuilder<RX> headers(MultivaluedMap<String,Object> headers)
headers in interface Invocation.BuilderRxInvocationBuilder<RX> property(String name, Object value)
property in interface Invocation.BuilderCopyright © 2007-2014, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.