Class CompletionStageRxInvokerProvider
- java.lang.Object
-
- org.jboss.resteasy.client.jaxrs.internal.CompletionStageRxInvokerProvider
-
- All Implemented Interfaces:
RxInvokerProvider<CompletionStageRxInvoker>
public class CompletionStageRxInvokerProvider extends Object implements RxInvokerProvider<CompletionStageRxInvoker>
-
-
Constructor Summary
Constructors Constructor Description CompletionStageRxInvokerProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompletionStageRxInvokergetRxInvoker(SyncInvoker syncInvoker, ExecutorService executorService)GetRxInvokerimplementation instance.booleanisProviderFor(Class<?> clazz)Determine if this is a provider for the givenRxInvokersubclass.
-
-
-
Method Detail
-
isProviderFor
public boolean isProviderFor(Class<?> clazz)
Description copied from interface:RxInvokerProviderDetermine if this is a provider for the givenRxInvokersubclass.- Specified by:
isProviderForin interfaceRxInvokerProvider<CompletionStageRxInvoker>- Parameters:
clazz-RxInvokersubclass.- Returns:
truewhen this provider provides givenRxInvokersubclass,falseotherwise.
-
getRxInvoker
public CompletionStageRxInvoker getRxInvoker(SyncInvoker syncInvoker, ExecutorService executorService)
Description copied from interface:RxInvokerProviderGetRxInvokerimplementation instance.The returned instance has to be thread safe.
- Specified by:
getRxInvokerin interfaceRxInvokerProvider<CompletionStageRxInvoker>- Parameters:
syncInvoker-SyncInvokerused to execute current request.executorService- executor service, which should be used for executing reactive callbacks invocations. It can benull; in that case it's up to the implementation to choose the bestExecutorServicein given environment.- Returns:
- instance of the
RxInvokersubclass. - See Also:
ClientBuilder.executorService(ExecutorService)
-
-