net.smartam.leeloo.client
Class URLConnectionClient

java.lang.Object
  extended by net.smartam.leeloo.client.URLConnectionClient
All Implemented Interfaces:
HttpClient

public class URLConnectionClient
extends Object
implements HttpClient

Implementation of the OAuth HttpClient using URL Connection

Author:
Maciej Machulak, Lukasz Moren

Constructor Summary
URLConnectionClient()
           
 
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

URLConnectionClient

public URLConnectionClient()
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.