Interface JerseyClientBuilderConfigurer

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface JerseyClientBuilderConfigurer
    Hook for customizing Jersey client builders. These are used when creating Jersey clients made available through JerseyClientFactory.

    Beans that implement this interface will be picked up and their configure() methods will be run when the Jersey client is initialized. This allows features and settings to be easily configured for clients at the builder level.

    See Also:
    JerseyClientBuilderConfigurer
    • Method Detail

      • configure

        void configure​(javax.ws.rs.client.ClientBuilder clientBuilder)
        Configures the Jersey client builder.
        Parameters:
        clientBuilder - the builder to configure.