|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.http.client.params.HttpClientParams
public class HttpClientParams
An adaptor for accessing HTTP client parameters in HttpParams
.
Method Summary | |
---|---|
static long |
getConnectionManagerTimeout(org.apache.http.params.HttpParams params)
Returns the timeout in milliseconds used when retrieving a ManagedClientConnection from the
ClientConnectionManager . |
static java.lang.String |
getCookiePolicy(org.apache.http.params.HttpParams params)
|
static boolean |
isAuthenticating(org.apache.http.params.HttpParams params)
|
static boolean |
isAuthenticationPreemptive(org.apache.http.params.HttpParams params)
Returns true if authentication should be attempted preemptively, false otherwise. |
static boolean |
isRedirecting(org.apache.http.params.HttpParams params)
|
static void |
setAuthenticating(org.apache.http.params.HttpParams params,
boolean value)
|
static void |
setAuthenticationPreemptive(org.apache.http.params.HttpParams params,
boolean value)
Sets whether authentication should be attempted preemptively. |
static void |
setConnectionManagerTimeout(org.apache.http.params.HttpParams params,
long timeout)
Sets the timeout in milliseconds used when retrieving a ManagedClientConnection from the
ClientConnectionManager . |
static void |
setCookiePolicy(org.apache.http.params.HttpParams params,
java.lang.String cookiePolicy)
|
static void |
setRedirecting(org.apache.http.params.HttpParams params,
boolean value)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static long getConnectionManagerTimeout(org.apache.http.params.HttpParams params)
ManagedClientConnection
from the
ClientConnectionManager
.
public static void setConnectionManagerTimeout(org.apache.http.params.HttpParams params, long timeout)
ManagedClientConnection
from the
ClientConnectionManager
.
timeout
- the timeout in millisecondspublic static boolean isRedirecting(org.apache.http.params.HttpParams params)
public static void setRedirecting(org.apache.http.params.HttpParams params, boolean value)
public static boolean isAuthenticating(org.apache.http.params.HttpParams params)
public static void setAuthenticating(org.apache.http.params.HttpParams params, boolean value)
public static boolean isAuthenticationPreemptive(org.apache.http.params.HttpParams params)
public static void setAuthenticationPreemptive(org.apache.http.params.HttpParams params, boolean value)
value
- true if authentication should be attempted preemptively,
false otherwise.public static java.lang.String getCookiePolicy(org.apache.http.params.HttpParams params)
public static void setCookiePolicy(org.apache.http.params.HttpParams params, java.lang.String cookiePolicy)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |