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 ConnectionConfig
public int getConnectionTimeout()
getConnectionTimeout
in interface ConnectionConfig
public int getMaxRedirects()
getMaxRedirects
in interface ConnectionConfig
Copyright © 2015 Atlassian. All rights reserved.