public class SystemPropertiesConnectionConfig extends Object implements ConnectionConfig
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_CONNECTION_TIMEOUT |
static int |
DEFAULT_MAX_REDIRECTS |
static int |
DEFAULT_SOCKET_TIMEOUT |
static String |
HTTP_CONNECTION_TIMEOUT_PROPERTY_NAME |
static String |
HTTP_MAX_REDIRECTS_PROPERTY_NAME |
static String |
HTTP_SOCKET_TIMEOUT_PROPERTY_NAME |
| Constructor and Description |
|---|
SystemPropertiesConnectionConfig() |
| Modifier and Type | Method and Description |
|---|---|
int |
getConnectionTimeout() |
int |
getMaxRedirects() |
int |
getSocketTimeout() |
public static final String HTTP_SOCKET_TIMEOUT_PROPERTY_NAME
public static final String HTTP_CONNECTION_TIMEOUT_PROPERTY_NAME
public static final String HTTP_MAX_REDIRECTS_PROPERTY_NAME
public static final int DEFAULT_SOCKET_TIMEOUT
public static final int DEFAULT_CONNECTION_TIMEOUT
public static final int DEFAULT_MAX_REDIRECTS
public int getSocketTimeout()
getSocketTimeout in interface ConnectionConfigpublic int getConnectionTimeout()
getConnectionTimeout in interface ConnectionConfigpublic int getMaxRedirects()
getMaxRedirects in interface ConnectionConfigCopyright © 2018 Atlassian. All rights reserved.