RequestConfig.java (httpcomponents-client-4.5.9-src) | : | RequestConfig.java (httpcomponents-client-4.5.10-src) | ||
---|---|---|---|---|
skipping to change at line 267 | skipping to change at line 267 | |||
* <p> | * <p> | |||
* Default: {@code null} | * Default: {@code null} | |||
* </p> | * </p> | |||
*/ | */ | |||
public Collection<String> getProxyPreferredAuthSchemes() { | public Collection<String> getProxyPreferredAuthSchemes() { | |||
return proxyPreferredAuthSchemes; | return proxyPreferredAuthSchemes; | |||
} | } | |||
/** | /** | |||
* Returns the timeout in milliseconds used when requesting a connection | * Returns the timeout in milliseconds used when requesting a connection | |||
* from the connection manager. A timeout value of zero is interpreted | * from the connection manager. | |||
* as an infinite timeout. | ||||
* <p> | * <p> | |||
* A timeout value of zero is interpreted as an infinite timeout. | * A timeout value of zero is interpreted as an infinite timeout. | |||
* A negative value is interpreted as undefined (system default). | * A negative value is interpreted as undefined (system default if applicabl e). | |||
* </p> | * </p> | |||
* <p> | * <p> | |||
* Default: {@code -1} | * Default: {@code -1} | |||
* </p> | * </p> | |||
*/ | */ | |||
public int getConnectionRequestTimeout() { | public int getConnectionRequestTimeout() { | |||
return connectionRequestTimeout; | return connectionRequestTimeout; | |||
} | } | |||
/** | /** | |||
* Determines the timeout in milliseconds until a connection is established. | * Determines the timeout in milliseconds until a connection is established. | |||
* A timeout value of zero is interpreted as an infinite timeout. | ||||
* <p> | * <p> | |||
* A timeout value of zero is interpreted as an infinite timeout. | * A timeout value of zero is interpreted as an infinite timeout. | |||
* A negative value is interpreted as undefined (system default). | * A negative value is interpreted as undefined (system default if applicabl e). | |||
* </p> | * </p> | |||
* <p> | * <p> | |||
* Default: {@code -1} | * Default: {@code -1} | |||
* </p> | * </p> | |||
*/ | */ | |||
public int getConnectTimeout() { | public int getConnectTimeout() { | |||
return connectTimeout; | return connectTimeout; | |||
} | } | |||
/** | /** | |||
* Defines the socket timeout ({@code SO_TIMEOUT}) in milliseconds, | * Defines the socket timeout ({@code SO_TIMEOUT}) in milliseconds, | |||
* which is the timeout for waiting for data or, put differently, | * which is the timeout for waiting for data or, put differently, | |||
* a maximum period inactivity between two consecutive data packets). | * a maximum period inactivity between two consecutive data packets). | |||
* <p> | * <p> | |||
* A timeout value of zero is interpreted as an infinite timeout. | * A timeout value of zero is interpreted as an infinite timeout. | |||
* A negative value is interpreted as undefined (system default). | * A negative value is interpreted as undefined (system default if applicabl e). | |||
* </p> | * </p> | |||
* <p> | * <p> | |||
* Default: {@code -1} | * Default: {@code -1} | |||
* </p> | * </p> | |||
*/ | */ | |||
public int getSocketTimeout() { | public int getSocketTimeout() { | |||
return socketTimeout; | return socketTimeout; | |||
} | } | |||
/** | /** | |||
End of changes. 6 change blocks. | ||||
7 lines changed or deleted | 5 lines changed or added |