Package io.quarkus.restclient.runtime
Class QuarkusProxyInvocationHandler
java.lang.Object
io.quarkus.restclient.runtime.QuarkusProxyInvocationHandler
- All Implemented Interfaces:
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 Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionQuarkusProxyInvocationHandler(Class<?> restClientInterface, Object target, Set<Object> providerInstances, org.jboss.resteasy.client.jaxrs.ResteasyClient client, jakarta.enterprise.inject.spi.BeanManager beanManager) -
Method Summary
-
Field Details
-
NO_TYPES
-
-
Constructor Details
-
QuarkusProxyInvocationHandler
-
-
Method Details
-
invoke
- Specified by:
invokein interfaceInvocationHandler- Throws:
Throwable
-