Package jakarta.ws.rs.client
Interface RxInvokerProvider<T extends RxInvoker>
- 
- Type Parameters:
 T-RxInvokersubclass type.
public interface RxInvokerProvider<T extends RxInvoker>RxInvokerprovider.RxInvokerProvidermust be registered in the client runtime usingConfigurable.register(Class). It provides a way to plug-in support for other reactive implementations, seeInvocation.Builder.rx(Class).- Since:
 - 2.1
 - Author:
 - Pavel Bucek, Santiago Pericas-Geertsen
 
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TgetRxInvoker(SyncInvoker syncInvoker, ExecutorService executorService)GetRxInvokerimplementation instance.booleanisProviderFor(Class<?> clazz)Determine if this is a provider for the givenRxInvokersubclass. 
 - 
 
- 
- 
Method Detail
- 
isProviderFor
boolean isProviderFor(Class<?> clazz)
Determine if this is a provider for the givenRxInvokersubclass.- Parameters:
 clazz-RxInvokersubclass.- Returns:
 truewhen this provider provides givenRxInvokersubclass,falseotherwise.
 
- 
getRxInvoker
T getRxInvoker(SyncInvoker syncInvoker, ExecutorService executorService)
GetRxInvokerimplementation instance.The returned instance has to be thread safe.
- 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)
 
 - 
 
 -