RequestConfig
@Deprecated @Immutable public class HttpClientParams extends Object
HttpParams
.Modifier and Type | Method and Description |
---|---|
static long |
getConnectionManagerTimeout(HttpParams params)
Deprecated.
Get the connectiion manager timeout value.
|
static 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 parameter
ClientPNames.CONN_MANAGER_TIMEOUT . |
static void |
setCookiePolicy(HttpParams params,
String cookiePolicy)
Deprecated.
|
static void |
setRedirecting(HttpParams params,
boolean value)
Deprecated.
|
public static boolean isRedirecting(HttpParams params)
public static void setRedirecting(HttpParams params, boolean value)
public static boolean isAuthenticating(HttpParams params)
public static void setAuthenticating(HttpParams params, boolean value)
public static String getCookiePolicy(HttpParams params)
public static void setCookiePolicy(HttpParams params, String cookiePolicy)
public static void setConnectionManagerTimeout(HttpParams params, long timeout)
ClientPNames.CONN_MANAGER_TIMEOUT
.public static long getConnectionManagerTimeout(HttpParams params)
ClientPNames.CONN_MANAGER_TIMEOUT
.
Failing that it uses the parameter CoreConnectionPNames.CONNECTION_TIMEOUT
which defaults to 0 if not defined.Copyright © 1999–2013 The Apache Software Foundation. All rights reserved.