org.fishwife.jrugged.httpclient
Class ServiceWrappedHttpClientDecorator
java.lang.Object
org.fishwife.jrugged.httpclient.AbstractHttpClientDecorator
org.fishwife.jrugged.httpclient.ServiceWrappedHttpClientDecorator
- All Implemented Interfaces:
- org.apache.http.client.HttpClient
public class ServiceWrappedHttpClientDecorator
- extends AbstractHttpClientDecorator
Decorator that runs HttpClient request
executions through a ServiceWrapper.
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServiceWrappedHttpClientDecorator
public ServiceWrappedHttpClientDecorator(org.apache.http.client.HttpClient backend,
ServiceWrapper wrapper)
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.