Package org.glassfish.jersey.client
Annotation Interface ClientAsyncExecutor
@Target({PARAMETER,FIELD,METHOD,TYPE})
@Retention(RUNTIME)
@Documented
@Inherited
@Qualifier
public @interface ClientAsyncExecutor
Injection qualifier that can be used to inject an
ExecutorService
instance used by Jersey client runtime to execute asynchronous
client requests.
The asynchronous client request executor service instance injected using this injection qualifier can be customized
by registering a custom ExecutorServiceProvider
implementation that is itself annotated
with the @ClientAsyncExecutor
annotation.
- Since:
- 2.18
- Author:
- Marek Potociar
- See Also: