users@jax-rs-spec.java.net

[jax-rs-spec users] Re: [PLEASE REVIEW] JAX-RS Client Reactive API -- updated

From: Santiago Pericasgeertsen <santiago.pericasgeertsen_at_oracle.com>
Date: Fri, 20 Jan 2017 13:22:51 -0500

> On Jan 20, 2017, at 12:17 PM, Pavel Bucek <pavel.bucek_at_oracle.com> wrote:
>
> ad review: just to not hide anything - there is one method, which was added to be able to do a RxInvocationProvider lookup:
>
> public interface RxInvokerProvider<T extends RxInvoker> {
>
> /**
> * Find out whether current instance provides given {_at_link RxInvoker} subclass.
> *
> * @param clazz {_at_code RxInvoker} subclass.
> * @return {_at_code true} when this provider provides given {_at_code RxInvoker} subclass, {_at_code false} otherwise.
> */
> public boolean provides(Class<?> clazz);
>
> //...
> public T getRxInvoker(SyncInvoker syncInvoker, ExecutorService executorService);
>
> }
>
> I don't particularly like that name, if anyone has better idea, please share it as well.

 How about “isProviderFor”?

— Santiago