public abstract class AbstractProtocolSslContextSpec<T extends AbstractProtocolSslContextSpec<T>> extends Object implements SslProvider.ProtocolSslContextSpec, Supplier<T>
| Modifier | Constructor and Description | 
|---|---|
protected  | 
AbstractProtocolSslContextSpec(SslContextBuilder sslContextBuilder)  | 
| Modifier and Type | Method and Description | 
|---|---|
T | 
configure(Consumer<SslContextBuilder> sslCtxBuilder)
Configures the underlying  
SslContextBuilder. | 
protected abstract Consumer<SslContextBuilder> | 
defaultConfiguration()  | 
SslContext | 
sslContext()
Create a new  
SslContext instance with the configured settings. | 
protected AbstractProtocolSslContextSpec(SslContextBuilder sslContextBuilder)
protected abstract Consumer<SslContextBuilder> defaultConfiguration()
public T configure(Consumer<SslContextBuilder> sslCtxBuilder)
SslProvider.ProtocolSslContextSpecSslContextBuilder.configure in interface SslProvider.ProtocolSslContextSpecsslCtxBuilder - a callback for configuring the underlying SslContextBuilderthispublic SslContext sslContext() throws SSLException
SslProvider.ProtocolSslContextSpecSslContext instance with the configured settings.sslContext in interface SslProvider.ProtocolSslContextSpecSslContext instanceSSLException - thrown when SslContext instance cannot be created