Class ResteasyHelper


  • public class ResteasyHelper
    extends Object
    Some reflection to make things work with both Resteasy 3, and Resteasy 4 (similar as keycloak client is doing)
    Since:
    2.14
    Author:
    Michiel Meeuwissen
    • Method Detail

      • clientBuilder

        public static org.jboss.resteasy.client.jaxrs.ResteasyClientBuilder clientBuilder()
      • getBasicAuthentication

        @Deprecated
        public static javax.ws.rs.client.ClientRequestFilter getBasicAuthentication​(String userName,
                                                                                    String password,
                                                                                    org.slf4j.Logger log)
        Deprecated.
        Just use BasicAuthentication
        Support resteasy 3 vs resteasy 4
      • createApacheHttpClient

        @Deprecated
        public static org.jboss.resteasy.client.jaxrs.ClientHttpEngine createApacheHttpClient​(org.apache.http.impl.client.CloseableHttpClient closeableHttpClient,
                                                                                              boolean closeHttpClient)
        Deprecated.
        Just use ApacheHttpClientEngine
        Support resteasy 3 vs resteasy 4