bad.robot.http.apache
Class ApacheHttpClientBuilder

java.lang.Object
  extended by 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>


Constructor Summary
ApacheHttpClientBuilder()
           
 
Method Summary
static ApacheHttpClientBuilder anApacheClientWithShortTimeout()
           
 org.apache.http.client.HttpClient build()
           
protected  org.apache.http.params.HttpParams createHttpParametersViaNastyHackButBetterThanCopyAndPaste()
           
 ApacheHttpClientBuilder with(ApacheHttpAuthenticationCredentials login)
           
 ApacheHttpClientBuilder with(AutomaticRedirectHandling handleRedirects)
           
 ApacheHttpClientBuilder with(HttpTimeout timeout)
           
 ApacheHttpClientBuilder with(Proxy proxy)
           
 ApacheHttpClientBuilder with(Ssl ssl)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApacheHttpClientBuilder

public ApacheHttpClientBuilder()
Method Detail

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.