Java 类org.apache.http.client.params.ClientParamBean 实例源码

项目:search    文件:HttpClientUtil.java   
/**
 * Set follow redirects.
 *
 * @param followRedirects  When true the client will follow redirects.
 */
public static void setFollowRedirects(HttpClient httpClient,
    boolean followRedirects) {
  new ClientParamBean(httpClient.getParams()).setHandleRedirects(followRedirects);
}
项目:NYBC    文件:HttpClientUtil.java   
/**
 * Set follow redirects.
 *
 * @param followRedirects  When true the client will follow redirects.
 */
public static void setFollowRedirects(HttpClient httpClient,
    boolean followRedirects) {
  new ClientParamBean(httpClient.getParams()).setHandleRedirects(followRedirects);
}
项目:read-open-source-code    文件:HttpClientUtil.java   
/**
 * Set follow redirects.
 *
 * @param followRedirects  When true the client will follow redirects.
 */
public static void setFollowRedirects(HttpClient httpClient,
    boolean followRedirects) {
  new ClientParamBean(httpClient.getParams()).setHandleRedirects(followRedirects);
}
项目:read-open-source-code    文件:HttpClientUtil.java   
/**
 * Set follow redirects.
 *
 * @param followRedirects  When true the client will follow redirects.
 */
public static void setFollowRedirects(HttpClient httpClient,
    boolean followRedirects) {
  new ClientParamBean(httpClient.getParams()).setHandleRedirects(followRedirects);
}