Class TrustAllTlsRequestFactory

java.lang.Object
org.springframework.boot.resttestclient.TrustAllTlsRequestFactory

public final class TrustAllTlsRequestFactory extends Object
Testing utility that trusts all TLS connections during tests. This class should not be in your production classpath as "spring-boot-resttestclient" is a test dependency in the first place.

This can be configured on a test client when binding to a live server using RestTestClient.bindToServer(ClientHttpRequestFactory).

Since:
4.2.0
Author:
Brian Clozel