bad.robot.http.apache
Class ApacheHttpClientBuilder
java.lang.Object
bad.robot.http.apache.ApacheHttpClientBuilder
- All Implemented Interfaces:
- Builder<org.apache.http.client.HttpClient>
public class ApacheHttpClientBuilder
- extends Object
- implements Builder<org.apache.http.client.HttpClient>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ApacheHttpClientBuilder
public ApacheHttpClientBuilder()
anApacheClientWithShortTimeout
public static ApacheHttpClientBuilder anApacheClientWithShortTimeout()
with
public ApacheHttpClientBuilder with(HttpTimeout timeout)
with
public ApacheHttpClientBuilder with(Proxy proxy)
with
public ApacheHttpClientBuilder with(ApacheHttpAuthenticationCredentials login)
with
public ApacheHttpClientBuilder with(Ssl ssl)
with
public ApacheHttpClientBuilder with(AutomaticRedirectHandling handleRedirects)
build
public org.apache.http.client.HttpClient build()
- Specified by:
build
in interface Builder<org.apache.http.client.HttpClient>
createHttpParametersViaNastyHackButBetterThanCopyAndPaste
protected org.apache.http.params.HttpParams createHttpParametersViaNastyHackButBetterThanCopyAndPaste()
Copyright © 2012. All Rights Reserved.