use of org.apache.flink.shaded.netty4.io.netty.handler.ssl.SslContextBuilder in project spring-boot-admin by codecentric.
the class QueryIndexEndpointStrategyTest method httpConnector.
private ReactorClientHttpConnector httpConnector() {
SslContextBuilder sslCtx = SslContextBuilder.forClient().trustManager(InsecureTrustManagerFactory.INSTANCE);
HttpClient client = HttpClient.create().secure((ssl) -> ssl.sslContext(sslCtx));
return new ReactorClientHttpConnector(client);
}
Aggregations