net.smartam.leeloo.httpclient4
Class HttpClient4

java.lang.Object
  extended by net.smartam.leeloo.httpclient4.HttpClient4
All Implemented Interfaces:
HttpClient

public class HttpClient4
extends Object
implements HttpClient

Exemplar HttpClient4

Author:
Maciej Machulak, Lukasz Moren

Constructor Summary
HttpClient4()
           
HttpClient4(org.apache.http.client.HttpClient client)
           
 
Method Summary
<T extends OAuthClientResponse>
T
execute(OAuthClientRequest request, Map<String,String> headers, String requestMethod, Class<T> responseClass)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpClient4

public HttpClient4()

HttpClient4

public HttpClient4(org.apache.http.client.HttpClient client)
Method Detail

execute

public <T extends OAuthClientResponse> T execute(OAuthClientRequest request,
                                                 Map<String,String> headers,
                                                 String requestMethod,
                                                 Class<T> responseClass)
                                      throws OAuthSystemException,
                                             OAuthProblemException
Specified by:
execute in interface HttpClient
Throws:
OAuthSystemException
OAuthProblemException


Copyright © 2010. All Rights Reserved.