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 -
Method Summary
Modifier and TypeMethodDescriptiongetRxInvoker(SyncInvoker syncInvoker, ExecutorService executorService) GetRxInvokerimplementation instance.booleanisProviderFor(Class<?> clazz) Determine if this is a provider for the givenRxInvokersubclass.
-
Constructor Details
-
CompletionStageRxInvokerProvider
public CompletionStageRxInvokerProvider()
-
-
Method Details
-
isProviderFor
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:
-