public static class JdkSSLOptions.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
JdkSSLOptions |
build()
Builds a new instance based on the parameters provided to this builder.
|
JdkSSLOptions.Builder |
withCipherSuites(String[] cipherSuites)
Set the cipher suites to use.
|
JdkSSLOptions.Builder |
withSSLContext(SSLContext context)
Set the SSL context to use.
|
public JdkSSLOptions.Builder withSSLContext(SSLContext context)
context
- the SSL context.public JdkSSLOptions.Builder withCipherSuites(String[] cipherSuites)
cipherSuites
- the cipher suites to use.public JdkSSLOptions build()