Package org.apache.http.client.params
Class ClientParamBean
- java.lang.Object
-
- org.apache.http.params.HttpAbstractParamBean
-
- org.apache.http.client.params.ClientParamBean
-
@Deprecated public class ClientParamBean extends HttpAbstractParamBean
Deprecated.(4.3) useRequestConfig
.This is a Java Bean class that can be used to wrap an instance ofHttpParams
and manipulate HTTP client parameters using Java Beans conventions.- Since:
- 4.0
-
-
Constructor Summary
Constructors Constructor Description ClientParamBean(HttpParams params)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
setAllowCircularRedirects(boolean allow)
Deprecated.void
setConnectionManagerFactoryClassName(java.lang.String factory)
Deprecated.(4.2) do not use.void
setConnectionManagerTimeout(long timeout)
Deprecated.void
setCookiePolicy(java.lang.String policy)
Deprecated.void
setDefaultHeaders(java.util.Collection<Header> headers)
Deprecated.void
setDefaultHost(HttpHost host)
Deprecated.void
setHandleAuthentication(boolean handle)
Deprecated.void
setHandleRedirects(boolean handle)
Deprecated.void
setMaxRedirects(int maxRedirects)
Deprecated.void
setRejectRelativeRedirect(boolean reject)
Deprecated.void
setVirtualHost(HttpHost host)
Deprecated.
-
-
-
Constructor Detail
-
ClientParamBean
public ClientParamBean(HttpParams params)
Deprecated.
-
-
Method Detail
-
setConnectionManagerFactoryClassName
@Deprecated public void setConnectionManagerFactoryClassName(java.lang.String factory)
Deprecated.(4.2) do not use.
-
setHandleRedirects
public void setHandleRedirects(boolean handle)
Deprecated.
-
setRejectRelativeRedirect
public void setRejectRelativeRedirect(boolean reject)
Deprecated.
-
setMaxRedirects
public void setMaxRedirects(int maxRedirects)
Deprecated.
-
setAllowCircularRedirects
public void setAllowCircularRedirects(boolean allow)
Deprecated.
-
setHandleAuthentication
public void setHandleAuthentication(boolean handle)
Deprecated.
-
setCookiePolicy
public void setCookiePolicy(java.lang.String policy)
Deprecated.
-
setVirtualHost
public void setVirtualHost(HttpHost host)
Deprecated.
-
setDefaultHeaders
public void setDefaultHeaders(java.util.Collection<Header> headers)
Deprecated.
-
setDefaultHost
public void setDefaultHost(HttpHost host)
Deprecated.
-
setConnectionManagerTimeout
public void setConnectionManagerTimeout(long timeout)
Deprecated.- Since:
- 4.2
-
-