@Singleton @Internal public class NettyClientSslBuilder extends SslBuilder<io.netty.handler.ssl.SslContext>
SslBuilder
that generates an SslContext
to create a client that
supports SSL.ssl
Constructor and Description |
---|
NettyClientSslBuilder(ClientSslConfiguration ssl,
ResourceResolver resourceResolver) |
NettyClientSslBuilder(SslConfiguration ssl) |
Modifier and Type | Method and Description |
---|---|
Optional<io.netty.handler.ssl.SslContext> |
build() |
protected KeyManagerFactory |
getKeyManagerFactory() |
SslConfiguration |
getSslConfiguration() |
protected TrustManagerFactory |
getTrustManagerFactory() |
getKeyStore, getTrustStore, load
@Inject public NettyClientSslBuilder(ClientSslConfiguration ssl, ResourceResolver resourceResolver)
ssl
- The SSL configurationresourceResolver
- The resource resolverpublic NettyClientSslBuilder(SslConfiguration ssl)
ssl
- The SSL configurationpublic SslConfiguration getSslConfiguration()
public Optional<io.netty.handler.ssl.SslContext> build()
build
in class SslBuilder<io.netty.handler.ssl.SslContext>
protected KeyManagerFactory getKeyManagerFactory()
getKeyManagerFactory
in class SslBuilder<io.netty.handler.ssl.SslContext>
KeyManagerFactory
protected TrustManagerFactory getTrustManagerFactory()
getTrustManagerFactory
in class SslBuilder<io.netty.handler.ssl.SslContext>
TrustManagerFactory