Package org.apache.http.client.params
Class HttpClientParams
java.lang.Object
org.apache.http.client.params.HttpClientParams
Deprecated.
An adaptor for manipulating HTTP client parameters in
HttpParams.- Since:
- 4.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic longgetConnectionManagerTimeout(org.apache.http.params.HttpParams params) Deprecated.Get the connectiion manager timeout value.static StringgetCookiePolicy(org.apache.http.params.HttpParams params) Deprecated.static booleanisAuthenticating(org.apache.http.params.HttpParams params) Deprecated.static booleanisRedirecting(org.apache.http.params.HttpParams params) Deprecated.static voidsetAuthenticating(org.apache.http.params.HttpParams params, boolean value) Deprecated.static voidsetConnectionManagerTimeout(org.apache.http.params.HttpParams params, long timeout) Deprecated.Set the parameterClientPNames.CONN_MANAGER_TIMEOUT.static voidsetCookiePolicy(org.apache.http.params.HttpParams params, String cookiePolicy) Deprecated.static voidsetRedirecting(org.apache.http.params.HttpParams params, boolean value) Deprecated.
-
Constructor Details
-
HttpClientParams
private HttpClientParams()Deprecated.
-
-
Method Details
-
isRedirecting
public static boolean isRedirecting(org.apache.http.params.HttpParams params) Deprecated. -
setRedirecting
public static void setRedirecting(org.apache.http.params.HttpParams params, boolean value) Deprecated. -
isAuthenticating
public static boolean isAuthenticating(org.apache.http.params.HttpParams params) Deprecated. -
setAuthenticating
public static void setAuthenticating(org.apache.http.params.HttpParams params, boolean value) Deprecated. -
getCookiePolicy
Deprecated. -
setCookiePolicy
Deprecated. -
setConnectionManagerTimeout
public static void setConnectionManagerTimeout(org.apache.http.params.HttpParams params, long timeout) Deprecated.Set the parameterClientPNames.CONN_MANAGER_TIMEOUT.- Since:
- 4.2
-
getConnectionManagerTimeout
public static long getConnectionManagerTimeout(org.apache.http.params.HttpParams params) Deprecated.Get the connectiion manager timeout value. This is defined by the parameterClientPNames.CONN_MANAGER_TIMEOUT. Failing that it uses the parameterCoreConnectionPNames.CONNECTION_TIMEOUTwhich defaults to 0 if not defined.- Returns:
- the timeout value
- Since:
- 4.2
-
RequestConfig