Package org.apache.http.client.params
Class HttpClientParams
- java.lang.Object
-
- org.apache.http.client.params.HttpClientParams
-
@Deprecated public class HttpClientParams extends java.lang.Object
Deprecated.(4.3) useRequestConfig
An adaptor for manipulating HTTP client parameters inHttpParams
.- Since:
- 4.0
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static long
getConnectionManagerTimeout(HttpParams params)
Deprecated.Get the connectiion manager timeout value.static java.lang.String
getCookiePolicy(HttpParams params)
Deprecated.static boolean
isAuthenticating(HttpParams params)
Deprecated.static boolean
isRedirecting(HttpParams params)
Deprecated.static void
setAuthenticating(HttpParams params, boolean value)
Deprecated.static void
setConnectionManagerTimeout(HttpParams params, long timeout)
Deprecated.Set the parameterClientPNames.CONN_MANAGER_TIMEOUT
.static void
setCookiePolicy(HttpParams params, java.lang.String cookiePolicy)
Deprecated.static void
setRedirecting(HttpParams params, boolean value)
Deprecated.
-
-
-
Method Detail
-
isRedirecting
public static boolean isRedirecting(HttpParams params)
Deprecated.
-
setRedirecting
public static void setRedirecting(HttpParams params, boolean value)
Deprecated.
-
isAuthenticating
public static boolean isAuthenticating(HttpParams params)
Deprecated.
-
setAuthenticating
public static void setAuthenticating(HttpParams params, boolean value)
Deprecated.
-
getCookiePolicy
public static java.lang.String getCookiePolicy(HttpParams params)
Deprecated.
-
setCookiePolicy
public static void setCookiePolicy(HttpParams params, java.lang.String cookiePolicy)
Deprecated.
-
setConnectionManagerTimeout
public static void setConnectionManagerTimeout(HttpParams params, long timeout)
Deprecated.Set the parameterClientPNames.CONN_MANAGER_TIMEOUT
.- Since:
- 4.2
-
getConnectionManagerTimeout
public static long getConnectionManagerTimeout(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_TIMEOUT
which defaults to 0 if not defined.- Returns:
- the timeout value
- Since:
- 4.2
-
-