Class ResteasyClientClassicProvider

    • Constructor Detail

      • ResteasyClientClassicProvider

        public ResteasyClientClassicProvider()
    • Method Detail

      • newRestEasyClient

        public javax.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​(javax.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