Class RestClientFactory


  • public class RestClientFactory
    extends Object
    RestClientFactory is responsible for creating a new REST client whenever a specific service instance is created.

    The factory will configure all of the required filters and configuration options.

    • Constructor Detail

      • RestClientFactory

        public RestClientFactory​(@Nonnull
                                 ClientConfigurator clientConfigurator)
        Creates a new REST client factor that allow the given configurator to register any additional handlers it wants to the underlying REST client.
        Parameters:
        clientConfigurator - The configurator to customize the REST client.