Interface RestClientCustomizer

All Known Implementing Classes:
HttpMessageConvertersRestClientCustomizer, MockServerRestClientCustomizer, ObservationRestClientCustomizer
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 RestClientCustomizer
Callback interface that can be used to customize a RestClient.Builder.
Since:
3.2.0
Author:
Arjen Poutsma
  • Method Details

    • customize

      void customize(RestClient.Builder restClientBuilder)
      Callback to customize a RestClient.Builder instance.
      Parameters:
      restClientBuilder - the client builder to customize