Package org.keycloak.admin.client.spi
Class ResteasyClientClassicProvider
java.lang.Object
org.keycloak.admin.client.spi.ResteasyClientClassicProvider
- All Implemented Interfaces:
ResteasyClientProvider
An implementation of
ResteasyClientProvider
based on RESTEasy classic.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.client.Client
newRestEasyClient
(Object customJacksonProvider, SSLContext sslContext, boolean disableTrustManager) Creates a newClient
.<R> R
targetProxy
(jakarta.ws.rs.client.WebTarget client, Class<R> targetClass) Creates a implementation-specific proxy for a giventargetClass
.
-
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 newClient
.- Specified by:
newRestEasyClient
in interfaceResteasyClientProvider
- Parameters:
customJacksonProvider
- aMessageBodyReader
and/orMessageBodyWriter
instance.sslContext
- an optionalSSLContext
disableTrustManager
- if the client should not validate the server certificates when using TLS- Returns:
-
targetProxy
Description copied from interface:ResteasyClientProvider
Creates a implementation-specific proxy for a giventargetClass
.- Specified by:
targetProxy
in interfaceResteasyClientProvider
- Parameters:
client
- theWebTarget
instancetargetClass
- the JAX-RS client resource class- Returns:
- an instance of
targetClass
-