public abstract class SocketConfigurators extends Object
SocketConfigurator
.
Note SocketConfigurator
s can be combined with
SocketConfigurator.andThen(SocketConfigurator)
.
Modifier and Type | Class and Description |
---|---|
static class |
SocketConfigurators.Builder |
Modifier and Type | Field and Description |
---|---|
static SocketConfigurator |
DEFAULT
Default
SocketConfigurator that disables Nagle's algorithm. |
static SocketConfigurator |
DISABLE_NAGLE_ALGORITHM
Disable Nagle's algorithm.
|
static SocketConfigurator |
ENABLE_HOSTNAME_VERIFICATION
Enable server hostname validation for TLS connections.
|
Constructor and Description |
---|
SocketConfigurators() |
Modifier and Type | Method and Description |
---|---|
static SocketConfigurators.Builder |
builder()
Builder to configure and creates a
SocketConfigurator instance. |
static SocketConfigurator |
defaultConfigurator()
The default
SocketConfigurator that disables Nagle's algorithm. |
static SocketConfigurator |
disableNagleAlgorithm()
SocketConfigurator that disables Nagle's algorithm. |
static SocketConfigurator |
enableHostnameVerification()
SocketConfigurator that enable server hostname verification for TLS connections. |
public static final SocketConfigurator DISABLE_NAGLE_ALGORITHM
public static final SocketConfigurator DEFAULT
SocketConfigurator
that disables Nagle's algorithm.public static final SocketConfigurator ENABLE_HOSTNAME_VERIFICATION
public static SocketConfigurator defaultConfigurator()
SocketConfigurator
that disables Nagle's algorithm.public static SocketConfigurator disableNagleAlgorithm()
SocketConfigurator
that disables Nagle's algorithm.public static SocketConfigurator enableHostnameVerification()
SocketConfigurator
that enable server hostname verification for TLS connections.public static SocketConfigurators.Builder builder()
SocketConfigurator
instance.Copyright © 2022 VMware, Inc. or its affiliates.. All rights reserved.