public static class SocketConfigurators.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SocketConfigurators.Builder |
add(SocketConfigurator extraConfiguration)
Add an extra configuration step.
|
SocketConfigurator |
build()
Return the configured
SocketConfigurator . |
SocketConfigurators.Builder |
defaultConfigurator()
Set default configuration.
|
SocketConfigurators.Builder |
disableNagleAlgorithm()
Disable Nagle's Algorithm.
|
SocketConfigurators.Builder |
enableHostnameVerification()
Enable server hostname verification for TLS connections.
|
public SocketConfigurators.Builder defaultConfigurator()
public SocketConfigurators.Builder disableNagleAlgorithm()
public SocketConfigurators.Builder enableHostnameVerification()
public SocketConfigurators.Builder add(SocketConfigurator extraConfiguration)
extraConfiguration
- public SocketConfigurator build()
SocketConfigurator
.Copyright © 2022 VMware, Inc. or its affiliates.. All rights reserved.