@Immutable public class SocketSettings extends Object
| Modifier and Type | Class and Description | 
|---|---|
| static class  | SocketSettings.BuilderA builder for an instance of  SocketSettings. | 
| Modifier and Type | Method and Description | 
|---|---|
| static SocketSettings.Builder | builder()Gets a builder for an instance of  SocketSettings. | 
| boolean | equals(Object o) | 
| int | getConnectTimeout(TimeUnit timeUnit)Gets the timeout for socket connect. | 
| int | getReadTimeout(TimeUnit timeUnit)Gets the timeout for socket reads. | 
| int | getReceiveBufferSize()Gets the receive buffer size. | 
| int | getSendBufferSize()Gets the send buffer size. | 
| int | hashCode() | 
| boolean | isKeepAlive()Gets whether keep-alive is enabled. | 
| String | toString() | 
public static SocketSettings.Builder builder()
SocketSettings.public int getConnectTimeout(TimeUnit timeUnit)
timeUnit - the time unit to get the timeout inpublic int getReadTimeout(TimeUnit timeUnit)
timeUnit - the time unit to get the timeout inpublic boolean isKeepAlive()
public int getReceiveBufferSize()
public int getSendBufferSize()