org.fishwife.jrugged.httpclient
Class PerHostServiceWrappedHttpClient

java.lang.Object
  extended by org.fishwife.jrugged.httpclient.AbstractHttpClientDecorator
      extended by org.fishwife.jrugged.httpclient.PerHostServiceWrappedHttpClient
All Implemented Interfaces:
org.apache.http.client.HttpClient

public class PerHostServiceWrappedHttpClient
extends AbstractHttpClientDecorator


Field Summary
 
Fields inherited from class org.fishwife.jrugged.httpclient.AbstractHttpClientDecorator
backend
 
Constructor Summary
PerHostServiceWrappedHttpClient(org.apache.http.client.HttpClient backend, ServiceWrapperFactory factory)
           
 
Method Summary
 org.apache.http.HttpResponse execute(org.apache.http.HttpHost host, org.apache.http.HttpRequest req, org.apache.http.protocol.HttpContext ctx)
           
 
Methods inherited from class org.fishwife.jrugged.httpclient.AbstractHttpClientDecorator
execute, execute, execute, execute, execute, execute, execute, getConnectionManager, getHttpHost, getParams
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PerHostServiceWrappedHttpClient

public PerHostServiceWrappedHttpClient(org.apache.http.client.HttpClient backend,
                                       ServiceWrapperFactory factory)
Method Detail

execute

public org.apache.http.HttpResponse execute(org.apache.http.HttpHost host,
                                            org.apache.http.HttpRequest req,
                                            org.apache.http.protocol.HttpContext ctx)
                                     throws IOException,
                                            org.apache.http.client.ClientProtocolException
Specified by:
execute in interface org.apache.http.client.HttpClient
Specified by:
execute in class AbstractHttpClientDecorator
Throws:
IOException
org.apache.http.client.ClientProtocolException


Copyright © 2013. All Rights Reserved.