Interface JerseyClientConfigurer

  • 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 JerseyClientConfigurer
    Hook for customizing Jersey client beans. 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 to be easily configured for clients.

    See Also:
    JerseyClientBuilderConfigurer
    • Method Detail

      • configure

        void configure​(javax.ws.rs.client.Client client)
        Configure the Jersey client.
        Parameters:
        client - Jersey client to configure.