Class QuarkusProxyInvocationHandler

java.lang.Object
io.quarkus.restclient.runtime.QuarkusProxyInvocationHandler
All Implemented Interfaces:
InvocationHandler

public class QuarkusProxyInvocationHandler extends Object implements InvocationHandler
Quarkus version of ProxyInvocationHandler retaining the ability to create a custom interceptor chain and invoke it manually.

This is needed due to changes in https://github.com/resteasy/resteasy-microprofile/pull/182

In theory, it could be improved by pre-generating proxies for @RegisterRestClient interfaces and registering them as standard beans with all their interceptor bindings.

  • Field Details

    • NO_TYPES

      public static final Type[] NO_TYPES
  • Constructor Details

    • QuarkusProxyInvocationHandler

      public QuarkusProxyInvocationHandler(Class<?> restClientInterface, Object target, Set<Object> providerInstances, org.jboss.resteasy.client.jaxrs.ResteasyClient client, jakarta.enterprise.inject.spi.BeanManager beanManager)
  • Method Details