Package org.glassfish.jersey.client
Class AbstractRxInvoker<T>
java.lang.Object
org.glassfish.jersey.client.AbstractRxInvoker<T>
- Type Parameters:
T- the asynchronous/event-based completion aware type. The given type should be parametrized with the actual response type.
- All Implemented Interfaces:
RxInvoker<T>
Default implementation of
reactive invoker. Extensions of this class are
supposed to implement method(String, Entity, Class) and
method(String, Entity, GenericType) methods to which implementations of the rest
of the methods from the contract delegate to.- Since:
- 2.26
- Author:
- Michal Gajdos
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondelete()<R> Tdelete(GenericType<R> responseType) <R> Tget()<R> Tget(GenericType<R> responseType) <R> Tprotected ExecutorServiceReturn executorService service this reactive invoker was initialized with.protected SyncInvokerReturn invocation builder this reactive invoker was initialized with.head()abstract <R> Tmethod(String name, Entity<?> entity, GenericType<R> responseType) abstract <R> T<R> Tmethod(String name, GenericType<R> responseType) <R> Toptions()<R> Toptions(GenericType<R> responseType) <R> T<R> Tpost(Entity<?> entity, GenericType<R> type) <R> T<R> Tput(Entity<?> entity, GenericType<R> type) <R> Ttrace()<R> Ttrace(GenericType<R> responseType) <R> T
-
Constructor Details
-
AbstractRxInvoker
-
-
Method Details
-
getSyncInvoker
Return invocation builder this reactive invoker was initialized with.- Returns:
- non-null invocation builder.
-
getExecutorService
Return executorService service this reactive invoker was initialized with.- Returns:
- executorService service instance or
null.
-
method
-
method
-
method
-
method
-
get
-
get
-
get
-
put
-
put
-
put
-
post
-
post
-
post
-
delete
-
delete
-
delete
-
head
-
options
-
options
-
options
-
trace
-
trace
-
trace
-
method
-
method
-