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(com.google.code.tempusfugit.temporal.Duration timeout)
withProxy
public ApacheHttpClientBuilder withProxy(org.apache.http.HttpHost proxy)
with
public ApacheHttpClientBuilder with(ApacheHttpAuthenticationCredentials login)
with
public ApacheHttpClientBuilder with(Ssl ssl)
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.