@Internal @Deprecated public class SocketSupport extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
TCP_KEEPCOUNT
Deprecated.
|
static String |
TCP_KEEPIDLE
Deprecated.
|
static String |
TCP_KEEPINTERVAL
Deprecated.
|
| Constructor and Description |
|---|
SocketSupport()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> SocketOption<T> |
getExtendedSocketOptionOrNull(String fieldName)
Deprecated.
|
static <T> void |
setOption(T object,
String fieldName,
T value)
Deprecated.
Object can be ServerSocket or Socket.
|
public static final String TCP_KEEPIDLE
public static final String TCP_KEEPINTERVAL
public static final String TCP_KEEPCOUNT
public static <T> SocketOption<T> getExtendedSocketOptionOrNull(String fieldName)
public static <T> void setOption(T object,
String fieldName,
T value)
throws IOException
T - ServerSocket or Socket.IOException - in case of an I/O error.Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.