Class ResteasyClientClassicProvider

java.lang.Object
org.keycloak.admin.client.spi.ResteasyClientClassicProvider
All Implemented Interfaces:
ResteasyClientProvider

public class ResteasyClientClassicProvider extends Object implements ResteasyClientProvider
An implementation of ResteasyClientProvider based on RESTEasy classic.
  • Constructor Details

    • ResteasyClientClassicProvider

      public ResteasyClientClassicProvider()
  • Method Details

    • newRestEasyClient

      public jakarta.ws.rs.client.Client newRestEasyClient(Object customJacksonProvider, SSLContext sslContext, boolean disableTrustManager)
      Description copied from interface: ResteasyClientProvider
      Creates a new Client.
      Specified by:
      newRestEasyClient in interface ResteasyClientProvider
      Parameters:
      customJacksonProvider - a MessageBodyReader and/or MessageBodyWriter instance.
      sslContext - an optional SSLContext
      disableTrustManager - if the client should not validate the server certificates when using TLS
      Returns:
    • targetProxy

      public <R> R targetProxy(jakarta.ws.rs.client.WebTarget client, Class<R> targetClass)
      Description copied from interface: ResteasyClientProvider
      Creates a implementation-specific proxy for a given targetClass.
      Specified by:
      targetProxy in interface ResteasyClientProvider
      Parameters:
      client - the WebTarget instance
      targetClass - the JAX-RS client resource class
      Returns:
      an instance of targetClass