Class ClientConnectionContextInjector
java.lang.Object
org.keycloak.quarkus.runtime.integration.jaxrs.ClientConnectionContextInjector
- All Implemented Interfaces:
org.jboss.resteasy.spi.ContextInjector<ClientConnection,ClientConnection>
@Provider
public class ClientConnectionContextInjector
extends Object
implements org.jboss.resteasy.spi.ContextInjector<ClientConnection,ClientConnection>
This ContextInjector allows injecting ClientConnection to JAX-RS resources.
Due to the latest changes in Quarkus, the context map is cleared prior to dispatching to JAX-RS resources, so we need
to delegate to the ResteasyVertxProvider provider the lookup of Keycloak contextual objects.
- Author:
- Pedro Igor
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionresolve(Class rawType, Type genericType, Annotation[] annotations)
-
Constructor Details
-
ClientConnectionContextInjector
public ClientConnectionContextInjector()
-
-
Method Details
-
resolve
- Specified by:
resolvein interfaceorg.jboss.resteasy.spi.ContextInjector<ClientConnection,ClientConnection>
-