Interface HttpConnectionConfigurator

  • 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 HttpConnectionConfigurator
    Implementations of this interface can perform post-configuration on the HttpURLConnection used in the Client's RestTemplate.

    Note the SimpleRestTemplateConfigurator performs essential settings before the configurator.

    Since:
    3.6.0
    • Method Detail

      • configure

        void configure​(HttpURLConnection connection)
        Configure the HttpURLConnection
        Parameters:
        connection - the connection created by the SimpleClientHttpRequestFactory