public static class JdkSSLOptions.Builder extends Object
Modifier and Type | Field and Description |
---|---|
protected String[] |
cipherSuites |
protected SSLContext |
context |
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.
|
protected SSLContext context
protected String[] cipherSuites
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()
Copyright © 2012–2017. All rights reserved.