spring-framework / org.springframework.http.client / Netty4ClientHttpRequestFactory / setSslContext

setSslContext

open fun setSslContext(sslContext: SslContext): Unit

Set the SSL context. When configured it is used to create and insert an io.netty.handler.ssl.SslHandler in the channel pipeline.

A default client SslContext is configured if none has been provided.