Class ClientUseWorkerExecutorRestHandler

java.lang.Object
io.quarkus.rest.client.reactive.runtime.ClientUseWorkerExecutorRestHandler
All Implemented Interfaces:
org.jboss.resteasy.reactive.client.spi.ClientRestHandler, org.jboss.resteasy.reactive.spi.RestHandler<org.jboss.resteasy.reactive.client.impl.RestClientRequestContext>

public class ClientUseWorkerExecutorRestHandler extends Object implements org.jboss.resteasy.reactive.client.spi.ClientRestHandler
This is added by the Reactive Rest Client if the `@Blocking` annotation is used in some scenarios. For example, when users provide a custom ResponseExceptionMapper that is annotates with the `@Blocking` annotation. Then this handler is applied, the execution of the next handlers will use the worker thread pool.
  • Constructor Details

    • ClientUseWorkerExecutorRestHandler

      public ClientUseWorkerExecutorRestHandler()
  • Method Details

    • handle

      public void handle(org.jboss.resteasy.reactive.client.impl.RestClientRequestContext requestContext) throws Exception
      Specified by:
      handle in interface org.jboss.resteasy.reactive.spi.RestHandler<org.jboss.resteasy.reactive.client.impl.RestClientRequestContext>
      Throws:
      Exception